home *** CD-ROM | disk | FTP | other *** search
/ Inside Macintosh / Inside Macintosh CD-ROM_1995 (CD).toast / Apple Docviewer / DocViewer Apple Events Info / DocViewer Lookup TechNote next >
MacBinary  |  1994-07-21  |  19.0 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: DocViewer Lookup TechNote

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Fri May 6 09:08:50 1994, modified Thu Jul 21 10:03:45 1994, creator 'HLX2', type 'ONLN', 17722 bytes "DocViewer Lookup TechNote" magic text fragment for file(1) cmd, 1st line "#004 New Apple Event Support in DocViewer 1.1.1", 2nd line " ", at 0x45ba 1515 bytes resource magic text fragment for file(1) cmd, 1st line "#004 New Apple Event Support in DocViewer 1.1.1", 2nd line " " default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 19 44 6f 63 56 69 65 | 77 65 72 20 4c 6f 6f 6b |..DocVie|wer Look|
|00000010| 75 70 20 54 65 63 68 4e | 6f 74 65 00 00 00 00 00 |up TechN|ote.....|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 00 45 3a 00 | 00 05 eb a9 ef f1 e2 aa |.....E:.|........|
|00000060| 54 30 c1 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |T0......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 b6 ea 00 00 |........|........|
|00000080| 23 30 30 34 20 4e 65 77 | 20 41 70 70 6c 65 20 45 |#004 New| Apple E|
|00000090| 76 65 6e 74 20 53 75 70 | 70 6f 72 74 20 69 6e 20 |vent Sup|port in |
|000000a0| 44 6f 63 56 69 65 77 65 | 72 20 31 2e 31 2e 31 0d |DocViewe|r 1.1.1.|
|000000b0| 20 0d 49 6e 74 72 6f 64 | 75 63 74 69 6f 6e 0d 42 | .Introd|uction.B|
|000000c0| 65 67 69 6e 6e 69 6e 67 | 20 77 69 74 68 20 76 65 |eginning| with ve|
|000000d0| 72 73 69 6f 6e 20 31 2e | 31 2e 31 2c 20 41 70 70 |rsion 1.|1.1, App|
|000000e0| 6c 65 20 44 6f 63 56 69 | 65 77 65 72 20 73 75 70 |le DocVi|ewer sup|
|000000f0| 70 6f 72 74 73 20 61 20 | 73 70 65 63 69 61 6c 20 |ports a |special |
|00000100| 41 70 70 6c 65 20 65 76 | 65 6e 74 2e 20 20 54 68 |Apple ev|ent. Th|
|00000110| 69 73 20 41 70 70 6c 65 | 20 65 76 65 6e 74 20 69 |is Apple| event i|
|00000120| 73 20 6b 6e 6f 77 6e 20 | 61 73 20 74 68 65 20 22 |s known |as the "|
|00000130| 44 6f 63 56 69 65 77 65 | 72 20 4c 6f 6f 6b 75 70 |DocViewe|r Lookup|
|00000140| 22 20 65 76 65 6e 74 2e | 20 20 57 69 74 68 20 74 |" event.| With t|
|00000150| 68 69 73 20 65 76 65 6e | 74 2c 20 69 74 20 69 73 |his even|t, it is|
|00000160| 20 70 6f 73 73 69 62 6c | 65 20 74 6f 20 73 65 6e | possibl|e to sen|
|00000170| 64 20 61 20 6d 65 73 73 | 61 67 65 20 74 6f 20 44 |d a mess|age to D|
|00000180| 6f 63 56 69 65 77 65 72 | 20 72 65 71 75 65 73 74 |ocViewer| request|
|00000190| 69 6e 67 20 74 68 61 74 | 20 69 74 20 6f 70 65 6e |ing that| it open|
|000001a0| 20 61 20 70 61 72 74 69 | 63 75 6c 61 72 20 64 6f | a parti|cular do|
|000001b0| 63 75 6d 65 6e 74 20 61 | 6e 64 20 74 75 72 6e 20 |cument a|nd turn |
|000001c0| 74 6f 20 61 20 73 70 65 | 63 69 66 69 63 20 68 65 |to a spe|cific he|
|000001d0| 61 64 69 6e 67 2e 20 20 | 54 68 69 73 20 44 6f 63 |ading. |This Doc|
|000001e0| 56 69 65 77 65 72 20 54 | 65 63 68 20 4e 6f 74 65 |Viewer T|ech Note|
|000001f0| 20 64 65 73 63 72 69 62 | 65 73 20 74 68 65 20 69 | describ|es the i|
|00000200| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 20 6f 66 |mplement|ation of|
|00000210| 20 74 68 69 73 20 65 76 | 65 6e 74 2e 20 20 50 6c | this ev|ent. Pl|
|00000220| 65 61 73 65 20 6e 6f 74 | 65 20 74 68 61 74 20 74 |ease not|e that t|
|00000230| 65 63 68 20 6e 6f 74 65 | 73 20 31 20 2d 20 33 20 |ech note|s 1 - 3 |
|00000240| 64 6f 20 6e 6f 74 20 61 | 64 64 72 65 73 73 20 74 |do not a|ddress t|
|00000250| 68 65 20 56 69 65 77 65 | 72 20 70 6f 72 74 69 6f |he Viewe|r portio|
|00000260| 6e 20 6f 66 20 44 6f 63 | 56 69 65 77 65 72 20 61 |n of Doc|Viewer a|
|00000270| 6e 64 20 61 72 65 20 6f | 6e 6c 79 20 61 76 61 69 |nd are o|nly avai|
|00000280| 6c 61 62 6c 65 20 74 6f | 20 6c 69 63 65 6e 73 65 |lable to| license|
|00000290| 65 73 20 6f 66 20 74 68 | 65 20 41 70 70 6c 65 20 |es of th|e Apple |
|000002a0| 44 6f 63 56 69 65 77 65 | 72 20 42 75 69 6c 64 65 |DocViewe|r Builde|
|000002b0| 72 2e 0d 44 6f 63 56 69 | 65 77 65 72 4c 6f 6f 6b |r..DocVi|ewerLook|
|000002c0| 75 70 2e 68 0d 41 63 63 | 6f 6d 70 61 6e 79 69 6e |up.h.Acc|ompanyin|
|000002d0| 67 20 74 68 69 73 20 54 | 65 63 68 20 4e 6f 74 65 |g this T|ech Note|
|000002e0| 20 69 73 20 61 20 43 20 | 68 65 61 64 65 72 20 66 | is a C |header f|
|000002f0| 69 6c 65 20 66 6f 72 20 | 6d 61 6e 79 20 6f 66 20 |ile for |many of |
|00000300| 74 68 65 20 63 6f 6e 73 | 74 61 6e 74 73 20 61 6e |the cons|tants an|
|00000310| 64 20 64 61 74 61 20 73 | 74 72 75 63 74 75 72 65 |d data s|tructure|
|00000320| 73 20 20 79 6f 75 20 77 | 69 6c 6c 20 6e 65 65 64 |s you w|ill need|
|00000330| 20 77 68 65 6e 20 69 6e | 74 65 72 61 63 74 69 6e | when in|teractin|
|00000340| 67 20 70 72 6f 67 72 61 | 6d 6d 61 74 69 63 61 6c |g progra|mmatical|
|00000350| 6c 79 20 77 69 74 68 20 | 44 6f 63 56 69 65 77 65 |ly with |DocViewe|
|00000360| 72 2e 0d 45 76 65 6e 74 | 20 50 61 72 61 6d 65 74 |r..Event| Paramet|
|00000370| 65 72 73 0d 54 68 65 20 | 4c 6f 6f 6b 75 70 20 65 |ers.The |Lookup e|
|00000380| 76 65 6e 74 20 61 63 63 | 65 70 74 73 20 74 68 72 |vent acc|epts thr|
|00000390| 65 65 20 70 61 72 61 6d | 65 74 65 72 73 2e 20 20 |ee param|eters. |
|000003a0| 54 68 65 73 65 20 70 61 | 72 61 6d 65 74 65 72 73 |These pa|rameters|
|000003b0| 20 61 72 65 20 65 6e 63 | 61 70 73 75 6c 61 74 65 | are enc|apsulate|
|000003c0| 64 20 69 6e 74 6f 20 61 | 20 73 69 6e 67 6c 65 20 |d into a| single |
|000003d0| 64 61 74 61 20 73 74 72 | 75 63 74 75 72 65 20 66 |data str|ucture f|
|000003e0| 6f 72 20 74 68 69 73 20 | 76 65 72 73 69 6f 6e 2e |or this |version.|
|000003f0| 20 20 28 57 65 20 77 69 | 6c 6c 20 70 61 72 61 6d | (We wi|ll param|
|00000400| 65 74 65 72 69 7a 65 20 | 74 68 65 6d 20 61 74 20 |eterize |them at |
|00000410| 74 68 65 20 41 70 70 6c | 65 20 65 76 65 6e 74 20 |the Appl|e event |
|00000420| 6c 65 76 65 6c 20 66 6f | 72 20 74 68 65 20 6e 65 |level fo|r the ne|
|00000430| 78 74 20 72 65 6c 65 61 | 73 65 2e 29 20 20 54 68 |xt relea|se.) Th|
|00000440| 69 73 20 64 61 74 61 20 | 73 74 72 75 63 74 75 72 |is data |structur|
|00000450| 65 20 69 73 20 74 68 65 | 20 6f 6e 6c 79 20 70 61 |e is the| only pa|
|00000460| 72 61 6d 65 74 65 72 20 | 6f 66 20 74 68 65 20 41 |rameter |of the A|
|00000470| 70 70 6c 65 20 65 76 65 | 6e 74 2e 20 20 54 68 65 |pple eve|nt. The|
|00000480| 20 73 74 72 75 63 74 75 | 72 65 20 69 73 20 64 65 | structu|re is de|
|00000490| 66 69 6e 65 64 20 61 73 | 3a 0d 74 79 70 65 64 65 |fined as|:.typede|
|000004a0| 66 09 73 74 72 75 63 74 | 20 7b 0d 09 46 53 53 70 |f.struct| {..FSSp|
|000004b0| 65 63 09 61 44 6f 63 3b | 09 09 09 2f 2f 09 46 53 |ec.aDoc;|...//.FS|
|000004c0| 53 70 65 63 20 66 6f 72 | 20 74 68 65 20 44 6f 63 |Spec for| the Doc|
|000004d0| 20 74 6f 20 6f 70 65 6e | 2f 73 65 61 72 63 68 0d | to open|/search.|
|000004e0| 09 53 74 72 32 35 35 09 | 61 50 61 74 74 65 72 6e |.Str255.|aPattern|
|000004f0| 3b 09 2f 2f 09 53 74 72 | 69 6e 67 20 69 6e 20 68 |;.//.Str|ing in h|
|00000500| 65 61 64 69 6e 67 20 74 | 6f 20 66 69 6e 64 20 28 |eading t|o find (|
|00000510| 6c 65 6e 67 74 68 20 09 | 09 09 09 09 09 09 09 2f |length .|......./|
|00000520| 2f 20 70 72 65 66 69 78 | 65 64 29 0d 09 73 68 6f |/ prefix|ed)..sho|
|00000530| 72 74 09 09 61 63 63 65 | 73 73 4c 65 76 65 6c 3b |rt..acce|ssLevel;|
|00000540| 2f 2f 09 66 69 6e 64 20 | 6c 65 76 65 6c 20 0d 7d |//.find |level .}|
|00000550| 53 65 65 6b 50 61 72 61 | 6d 52 65 63 2c 20 2a 53 |SeekPara|mRec, *S|
|00000560| 65 65 6b 50 61 72 61 6d | 52 65 63 50 74 72 2c 20 |eekParam|RecPtr, |
|00000570| 2a 2a 53 65 65 6b 50 61 | 72 61 6d 52 65 63 48 61 |**SeekPa|ramRecHa|
|00000580| 6e 64 6c 65 3b 0d 54 68 | 65 20 66 69 72 73 74 20 |ndle;.Th|e first |
|00000590| 70 61 72 61 6d 65 74 65 | 72 20 69 73 20 61 6e 20 |paramete|r is an |
|000005a0| 46 53 53 70 65 63 20 74 | 6f 20 74 68 65 20 64 6f |FSSpec t|o the do|
|000005b0| 63 75 6d 65 6e 74 20 79 | 6f 75 20 77 69 73 68 20 |cument y|ou wish |
|000005c0| 74 6f 20 6f 70 65 6e 20 | 61 6e 64 20 70 65 72 66 |to open |and perf|
|000005d0| 6f 72 6d 20 74 68 65 20 | 6c 6f 6f 6b 75 70 20 69 |orm the |lookup i|
|000005e0| 6e 2e 20 20 44 6f 63 56 | 69 65 77 65 72 20 77 69 |n. DocV|iewer wi|
|000005f0| 6c 6c 20 6f 70 65 6e 20 | 74 68 69 73 20 64 6f 63 |ll open |this doc|
|00000600| 75 6d 65 6e 74 20 69 66 | 20 69 74 20 69 73 6e 27 |ument if| it isn'|
|00000610| 74 20 61 6c 72 65 61 64 | 79 20 6f 70 65 6e 2e 20 |t alread|y open. |
|00000620| 20 54 68 69 73 20 64 6f | 63 75 6d 65 6e 74 20 6d | This do|cument m|
|00000630| 75 73 74 20 62 65 20 61 | 20 44 6f 63 56 69 65 77 |ust be a| DocView|
|00000640| 65 72 20 64 6f 63 75 6d | 65 6e 74 20 28 43 72 65 |er docum|ent (Cre|
|00000650| 61 74 6f 72 3a 20 48 4c | 58 32 20 54 79 70 65 3a |ator: HL|X2 Type:|
|00000660| 4f 4e 4c 4e 2e 29 20 20 | 49 66 20 79 6f 75 20 70 |ONLN.) |If you p|
|00000670| 61 73 73 20 61 20 64 6f | 63 75 6d 65 6e 74 20 74 |ass a do|cument t|
|00000680| 68 61 74 20 64 6f 65 73 | 20 6e 6f 74 20 62 65 6c |hat does| not bel|
|00000690| 6f 6e 67 20 74 6f 20 44 | 6f 63 56 69 65 77 65 72 |ong to D|ocViewer|
|000006a0| 2c 20 69 74 20 77 69 6c | 6c 20 72 65 74 75 72 6e |, it wil|l return|
|000006b0| 20 61 20 6b 57 72 6f 6e | 67 46 69 6c 65 54 79 70 | a kWron|gFileTyp|
|000006c0| 65 20 69 6e 20 74 68 65 | 20 27 65 72 72 6e 27 20 |e in the| 'errn' |
|000006d0| 70 61 72 61 6d 65 74 65 | 72 20 6f 66 20 74 68 65 |paramete|r of the|
|000006e0| 20 41 70 70 6c 65 20 65 | 76 65 6e 74 20 72 65 70 | Apple e|vent rep|
|000006f0| 6c 79 2e 20 20 0d 54 68 | 65 20 73 65 63 6f 6e 64 |ly. .Th|e second|
|00000700| 20 70 61 72 61 6d 65 74 | 65 72 20 69 73 20 74 68 | paramet|er is th|
|00000710| 65 20 68 65 61 64 69 6e | 67 20 79 6f 75 20 77 69 |e headin|g you wi|
|00000720| 73 68 20 44 6f 63 56 69 | 65 77 65 72 20 74 6f 20 |sh DocVi|ewer to |
|00000730| 6c 6f 6f 6b 20 66 6f 72 | 2e 20 20 54 68 69 73 20 |look for|. This |
|00000740| 69 73 20 61 20 73 69 6d | 70 6c 65 20 50 61 73 63 |is a sim|ple Pasc|
|00000750| 61 6c 2d 73 74 79 6c 65 | 20 73 74 72 69 6e 67 20 |al-style| string |
|00000760| 77 69 74 68 20 61 20 6d | 61 78 69 6d 75 6d 20 6c |with a m|aximum l|
|00000770| 65 6e 67 74 68 20 6f 66 | 20 32 35 35 20 63 68 61 |ength of| 255 cha|
|00000780| 72 61 63 74 65 72 73 2e | 20 20 44 6f 63 56 69 65 |racters.| DocVie|
|00000790| 77 65 72 20 75 73 65 73 | 20 74 68 69 73 20 73 74 |wer uses| this st|
|000007a0| 72 69 6e 67 20 61 73 20 | 61 20 70 61 74 74 65 72 |ring as |a patter|
|000007b0| 6e 20 74 6f 20 6d 61 74 | 63 68 20 61 67 61 69 6e |n to mat|ch again|
|000007c0| 73 74 20 74 68 65 20 64 | 6f 63 75 6d 65 6e 74 27 |st the d|ocument'|
|000007d0| 73 20 54 61 62 6c 65 20 | 6f 66 20 43 6f 6e 74 65 |s Table |of Conte|
|000007e0| 6e 74 73 2e 20 20 54 68 | 65 20 63 6f 6d 70 61 72 |nts. Th|e compar|
|000007f0| 69 73 6f 6e 20 69 73 20 | 61 63 63 6f 6d 70 6c 69 |ison is |accompli|
|00000800| 73 68 65 64 20 77 69 74 | 68 6f 75 74 20 72 65 67 |shed wit|hout reg|
|00000810| 61 72 64 20 74 6f 20 63 | 61 73 65 20 6f 72 20 64 |ard to c|ase or d|
|00000820| 69 61 63 72 69 74 69 63 | 61 6c 20 6d 61 72 6b 73 |iacritic|al marks|
|00000830| 2e 20 28 65 2e 67 2e 20 | 46 41 54 20 3d 3d 20 66 |. (e.g. |FAT == f|
|00000840| 41 74 2c 20 20 66 8c 74 | 20 3d 20 66 61 74 29 2e |At, f.t| = fat).|
|00000850| 20 20 49 66 20 74 68 65 | 20 73 74 72 69 6e 67 20 | If the| string |
|00000860| 79 6f 75 20 70 61 73 73 | 20 69 6e 20 69 73 6e 27 |you pass| in isn'|
|00000870| 74 20 66 6f 75 6e 64 20 | 69 6e 20 74 68 65 20 64 |t found |in the d|
|00000880| 6f 63 75 6d 65 6e 74 27 | 73 20 54 61 62 6c 65 20 |ocument'|s Table |
|00000890| 6f 66 20 43 6f 6e 74 65 | 6e 74 73 2c 20 74 68 65 |of Conte|nts, the|
|000008a0| 6e 20 44 6f 63 56 69 65 | 77 65 72 20 77 69 6c 6c |n DocVie|wer will|
|000008b0| 20 72 65 74 75 72 6e 20 | 61 20 6b 45 6e 74 72 79 | return |a kEntry|
|000008c0| 4e 6f 74 46 6f 75 6e 64 | 20 65 72 72 6f 72 2e 0d |NotFound| error..|
|000008d0| 54 68 65 20 74 68 69 72 | 64 20 61 6e 64 20 66 69 |The thir|d and fi|
|000008e0| 6e 61 6c 20 70 61 72 61 | 6d 65 74 65 72 20 69 73 |nal para|meter is|
|000008f0| 20 75 73 65 64 20 74 6f | 20 71 75 61 6c 69 66 79 | used to| qualify|
|00000900| 20 74 68 65 20 73 65 61 | 72 63 68 20 70 61 74 74 | the sea|rch patt|
|00000910| 65 72 6e 20 69 6e 20 74 | 68 65 20 73 65 63 6f 6e |ern in t|he secon|
|00000920| 64 20 70 61 72 61 6d 65 | 74 65 72 2e 20 20 4f 6e |d parame|ter. On|
|00000930| 63 65 20 44 6f 63 56 69 | 65 77 65 72 20 68 61 73 |ce DocVi|ewer has|
|00000940| 20 6c 6f 63 61 74 65 64 | 20 74 68 65 20 65 6e 74 | located| the ent|
|00000950| 72 79 20 69 6e 20 74 68 | 65 20 54 61 62 6c 65 20 |ry in th|e Table |
|00000960| 6f 66 20 43 6f 6e 74 65 | 6e 74 73 20 69 74 20 77 |of Conte|nts it w|
|00000970| 69 6c 6c 20 63 6f 6e 66 | 69 72 6d 20 74 68 61 74 |ill conf|irm that|
|00000980| 20 74 68 65 20 65 6e 74 | 72 79 20 69 73 20 69 6e | the ent|ry is in|
|00000990| 20 74 68 65 20 6c 65 76 | 65 6c 20 6f 66 20 74 68 | the lev|el of th|
|000009a0| 65 20 54 4f 43 20 68 69 | 65 72 61 72 63 68 79 20 |e TOC hi|erarchy |
|000009b0| 73 70 65 63 69 66 69 65 | 64 20 69 6e 20 74 68 65 |specifie|d in the|
|000009c0| 20 61 63 63 65 73 73 4c | 65 76 65 6c 20 66 69 65 | accessL|evel fie|
|000009d0| 6c 64 2e 20 20 44 6f 63 | 56 69 65 77 65 72 20 73 |ld. Doc|Viewer s|
|000009e0| 75 70 70 6f 72 74 73 20 | 73 65 76 65 6e 20 6c 65 |upports |seven le|
|000009f0| 76 65 6c 73 20 6f 66 20 | 68 69 65 72 61 72 63 68 |vels of |hierarch|
|00000a00| 79 2e 20 20 54 68 65 79 | 20 61 72 65 20 64 65 66 |y. They| are def|
|00000a10| 69 6e 65 64 20 61 73 20 | 66 6f 6c 6c 6f 77 73 3a |ined as |follows:|
|00000a20| 0d 23 64 65 66 69 6e 65 | 09 09 6b 46 69 72 73 74 |.#define|..kFirst|
|00000a30| 4c 65 76 65 6c 48 69 65 | 72 09 09 09 31 0d 23 64 |LevelHie|r...1.#d|
|00000a40| 65 66 69 6e 65 09 09 6b | 53 65 63 6f 6e 64 4c 65 |efine..k|SecondLe|
|00000a50| 76 65 6c 48 69 65 72 09 | 09 32 0d 23 64 65 66 69 |velHier.|.2.#defi|
|00000a60| 6e 65 09 09 6b 54 68 69 | 72 64 4c 65 76 65 6c 48 |ne..kThi|rdLevelH|
|00000a70| 69 65 72 09 09 09 33 0d | 23 64 65 66 69 6e 65 09 |ier...3.|#define.|
|00000a80| 09 6b 46 6f 75 72 74 68 | 4c 65 76 65 6c 48 69 65 |.kFourth|LevelHie|
|00000a90| 72 09 09 34 0d 23 64 65 | 66 69 6e 65 09 09 6b 46 |r..4.#de|fine..kF|
|00000aa0| 69 67 75 72 65 4c 65 76 | 65 6c 48 69 65 72 09 09 |igureLev|elHier..|
|00000ab0| 32 30 31 0d 23 64 65 66 | 69 6e 65 09 09 6b 4c 69 |201.#def|ine..kLi|
|00000ac0| 73 74 4c 65 76 65 6c 48 | 69 65 72 09 09 09 09 32 |stLevelH|ier....2|
|00000ad0| 30 32 0d 23 64 65 66 69 | 6e 65 09 09 6b 54 61 62 |02.#defi|ne..kTab|
|00000ae0| 6c 65 4c 65 76 65 6c 48 | 69 65 72 09 09 09 32 30 |leLevelH|ier...20|
|00000af0| 33 0d 41 6e 20 65 69 67 | 68 74 68 20 63 6f 6e 73 |3.An eig|hth cons|
|00000b00| 74 61 6e 74 20 68 61 73 | 20 62 65 65 6e 20 64 65 |tant has| been de|
|00000b10| 66 69 6e 65 64 20 74 68 | 61 74 20 77 69 6c 6c 20 |fined th|at will |
|00000b20| 61 6c 6c 6f 77 20 74 68 | 65 20 65 6e 74 72 79 20 |allow th|e entry |
|00000b30| 74 6f 20 62 65 20 66 6f | 75 6e 64 20 61 74 20 61 |to be fo|und at a|
|00000b40| 6e 79 20 6c 65 76 65 6c | 20 69 6e 20 74 68 65 20 |ny level| in the |
|00000b50| 68 69 65 72 61 72 63 68 | 79 2e 20 20 49 6e 20 74 |hierarch|y. In t|
|00000b60| 68 69 73 20 63 61 73 65 | 2c 20 69 66 20 74 68 65 |his case|, if the|
|00000b70| 72 65 20 61 72 65 20 64 | 75 70 6c 69 63 61 74 65 |re are d|uplicate|
|00000b80| 20 65 6e 74 72 69 65 73 | 20 74 68 65 20 66 69 72 | entries| the fir|
|00000b90| 73 74 20 65 6e 74 72 79 | 20 77 69 6c 6c 20 62 65 |st entry| will be|
|00000ba0| 20 63 68 6f 73 65 6e 2e | 0d 23 64 65 66 69 6e 65 | chosen.|.#define|
|00000bb0| 09 09 6b 41 6e 79 4c 65 | 76 65 6c 48 69 65 72 09 |..kAnyLe|velHier.|
|00000bc0| 09 09 09 39 39 39 0d 45 | 61 63 68 20 6f 66 20 74 |...999.E|ach of t|
|00000bd0| 68 65 73 65 20 73 65 6c | 65 63 74 6f 72 73 20 69 |hese sel|ectors i|
|00000be0| 73 20 6d 75 74 75 61 6c | 6c 79 20 65 78 63 6c 75 |s mutual|ly exclu|
|00000bf0| 73 69 76 65 2c 20 61 6e | 64 20 74 68 65 79 20 63 |sive, an|d they c|
|00000c00| 61 6e 6e 6f 74 20 62 65 | 20 63 6f 6d 62 69 6e 65 |annot be| combine|
|00000c10| 64 20 28 6f 72 27 64 29 | 20 74 6f 67 65 74 68 65 |d (or'd)| togethe|
|00000c20| 72 2e 0d 53 65 6e 64 69 | 6e 67 20 54 68 65 20 45 |r..Sendi|ng The E|
|00000c30| 76 65 6e 74 0d 4c 61 75 | 6e 63 68 20 44 6f 63 56 |vent.Lau|nch DocV|
|00000c40| 69 65 77 65 72 20 77 69 | 74 68 20 44 6f 63 75 6d |iewer wi|th Docum|
|00000c50| 65 6e 74 0d 54 68 65 20 | 66 69 72 73 74 20 73 74 |ent.The |first st|
|00000c60| 65 70 20 77 68 65 6e 20 | 73 65 6e 64 69 6e 67 20 |ep when |sending |
|00000c70| 74 68 65 20 6c 6f 6f 6b | 75 70 20 65 76 65 6e 74 |the look|up event|
|00000c80| 20 69 73 20 74 6f 20 73 | 65 65 20 69 66 20 44 6f | is to s|ee if Do|
|00000c90| 63 56 69 65 77 65 72 20 | 69 73 20 63 75 72 72 65 |cViewer |is curre|
|00000ca0| 6e 74 6c 79 20 72 75 6e | 6e 69 6e 67 2e 20 20 54 |ntly run|ning. T|
|00000cb0| 68 69 73 20 63 61 6e 20 | 62 65 20 61 63 63 6f 6d |his can |be accom|
|00000cc0| 70 6c 69 73 68 65 64 20 | 77 69 74 68 20 74 68 65 |plished |with the|
|00000cd0| 20 50 72 6f 63 65 73 73 | 20 6d 61 6e 61 67 65 72 | Process| manager|
|00000ce0| 20 47 65 74 50 72 6f 63 | 65 73 73 49 6e 66 6f 20 | GetProc|essInfo |
|00000cf0| 72 6f 75 74 69 6e 65 2e | 20 20 49 66 20 44 6f 63 |routine.| If Doc|
|00000d00| 56 69 65 77 65 72 20 69 | 73 20 66 6f 75 6e 64 20 |Viewer i|s found |
|00000d10| 69 6e 20 74 68 65 20 6c | 69 73 74 20 6f 66 20 63 |in the l|ist of c|
|00000d20| 75 72 72 65 6e 74 6c 79 | 20 72 75 6e 6e 69 6e 67 |urrently| running|
|00000d30| 20 70 72 6f 63 65 73 73 | 65 73 2c 20 79 6f 75 20 | process|es, you |
|00000d40| 73 68 6f 75 6c 64 20 63 | 68 65 63 6b 20 74 6f 20 |should c|heck to |
|00000d50| 73 65 65 20 74 68 61 74 | 20 74 68 65 20 76 65 72 |see that| the ver|
|00000d60| 73 69 6f 6e 20 6f 66 20 | 44 6f 63 56 69 65 77 65 |sion of |DocViewe|
|00000d70| 72 20 69 73 20 63 6f 72 | 72 65 63 74 20 28 31 2e |r is cor|rect (1.|
|00000d80| 31 2e 31 29 2e 20 20 54 | 68 69 73 20 63 61 6e 20 |1.1). T|his can |
|00000d90| 62 65 20 64 6f 6e 65 20 | 75 73 69 6e 67 20 74 68 |be done |using th|
|00000da0| 65 20 27 76 65 72 73 27 | 20 72 65 73 6f 75 72 63 |e 'vers'| resourc|
|00000db0| 65 20 77 69 74 68 20 49 | 44 20 23 31 2e 20 0d 49 |e with I|D #1. .I|
|00000dc0| 66 20 44 6f 63 56 69 65 | 77 65 72 20 69 73 20 6e |f DocVie|wer is n|
|00000dd0| 6f 74 20 72 75 6e 6e 69 | 6e 67 2c 20 69 74 20 69 |ot runni|ng, it i|
|00000de0| 73 20 6e 65 63 65 73 73 | 61 72 79 20 74 6f 20 6c |s necess|ary to l|
|00000df0| 61 75 6e 63 68 20 74 68 | 65 20 61 70 70 6c 69 63 |aunch th|e applic|
|00000e00| 61 74 69 6f 6e 20 77 69 | 74 68 20 74 68 65 20 74 |ation wi|th the t|
|00000e10| 61 72 67 65 74 20 64 6f | 63 75 6d 65 6e 74 2e 20 |arget do|cument. |
|00000e20| 20 49 66 20 44 6f 63 56 | 69 65 77 65 72 20 69 73 | If DocV|iewer is|
|00000e30| 20 6c 61 75 6e 63 68 65 | 64 20 77 69 74 68 6f 75 | launche|d withou|
|00000e40| 74 20 72 65 66 65 72 65 | 6e 63 65 20 74 6f 20 74 |t refere|nce to t|
|00000e50| 68 65 20 74 61 72 67 65 | 74 20 64 6f 63 75 6d 65 |he targe|t docume|
|00000e60| 6e 74 2c 20 69 74 20 77 | 69 6c 6c 20 70 72 65 73 |nt, it w|ill pres|
|00000e70| 65 6e 74 20 69 74 73 20 | 64 65 66 61 75 6c 74 20 |ent its |default |
|00000e80| 53 46 47 65 74 46 69 6c | 65 20 64 69 61 6c 6f 67 |SFGetFil|e dialog|
|00000e90| 2c 20 61 6e 64 20 79 6f | 75 20 77 69 6c 6c 20 6e |, and yo|u will n|
|00000ea0| 6f 74 20 62 65 20 61 62 | 6c 65 20 74 6f 20 6d 65 |ot be ab|le to me|
|00000eb0| 73 73 61 67 65 20 74 68 | 65 20 61 70 70 6c 69 63 |ssage th|e applic|
|00000ec0| 61 74 69 6f 6e 20 75 6e | 74 69 6c 20 74 68 65 20 |ation un|til the |
|00000ed0| 64 69 61 6c 6f 67 20 69 | 73 20 64 69 73 6d 69 73 |dialog i|s dismis|
|00000ee0| 73 65 64 2e 20 20 46 6f | 72 20 69 6e 66 6f 72 6d |sed. Fo|r inform|
|00000ef0| 61 74 69 6f 6e 20 6f 6e | 20 6c 61 75 6e 63 68 69 |ation on| launchi|
|00000f00| 6e 67 20 61 6e 20 61 70 | 70 6c 69 63 61 74 69 6f |ng an ap|plicatio|
|00000f10| 6e 20 77 69 74 68 20 61 | 20 64 6f 63 75 6d 65 6e |n with a| documen|
|00000f20| 74 20 73 65 65 20 22 4c | 61 75 6e 63 68 77 69 74 |t see "L|aunchwit|
|00000f30| 68 44 6f 63 22 20 6f 6e | 20 74 68 65 20 6c 61 74 |hDoc" on| the lat|
|00000f40| 65 73 74 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 74 |est vers|ion of t|
|00000f50| 68 65 20 44 65 76 65 6c | 6f 70 65 72 20 43 44 20 |he Devel|oper CD |
|00000f60| 28 54 6f 6f 6c 20 43 68 | 65 73 74 20 45 64 69 74 |(Tool Ch|est Edit|
|00000f70| 69 6f 6e 29 2e 0d 41 67 | 61 69 6e 2c 20 77 68 65 |ion)..Ag|ain, whe|
|00000f80| 6e 20 79 6f 75 20 6c 61 | 75 6e 63 68 20 74 68 65 |n you la|unch the|
|00000f90| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2c 20 69 74 | applica|tion, it|
|00000fa0| 20 69 73 20 6e 65 63 65 | 73 73 61 72 79 20 74 6f | is nece|ssary to|
|00000fb0| 20 63 6f 6e 66 69 72 6d | 20 74 68 61 74 20 79 6f | confirm| that yo|
|00000fc0| 75 20 61 72 65 20 6c 61 | 75 6e 63 68 69 6e 67 20 |u are la|unching |
|00000fd0| 74 68 65 20 63 6f 72 72 | 65 63 74 20 76 65 72 73 |the corr|ect vers|
|00000fe0| 69 6f 6e 20 62 79 20 63 | 68 65 63 6b 69 6e 67 20 |ion by c|hecking |
|00000ff0| 74 68 65 20 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |the cont|ents of |
|00001000| 74 68 65 20 27 76 65 72 | 73 27 20 49 44 20 23 31 |the 'ver|s' ID #1|
|00001010| 20 72 65 73 6f 75 72 63 | 65 20 6f 66 20 74 68 65 | resourc|e of the|
|00001020| 20 44 6f 63 56 69 65 77 | 65 72 20 61 70 70 6c 69 | DocView|er appli|
|00001030| 63 61 74 69 6f 6e 2e 0d | 53 65 6e 64 20 74 68 65 |cation..|Send the|
|00001040| 20 45 76 65 6e 74 0d 4f | 6e 63 65 20 79 6f 75 20 | Event.O|nce you |
|00001050| 68 61 76 65 20 64 65 74 | 65 72 6d 69 6e 65 64 20 |have det|ermined |
|00001060| 74 68 61 74 20 44 6f 63 | 56 69 65 77 65 72 20 69 |that Doc|Viewer i|
|00001070| 73 20 72 75 6e 6e 69 6e | 67 20 28 6f 72 20 79 6f |s runnin|g (or yo|
|00001080| 75 27 76 65 20 6c 61 75 | 6e 63 68 65 64 20 69 74 |u've lau|nched it|
|00001090| 29 20 79 6f 75 20 63 61 | 6e 20 74 68 65 6e 20 73 |) you ca|n then s|
|000010a0| 65 6e 64 20 74 68 65 20 | 65 76 65 6e 74 2e 20 20 |end the |event. |
|000010b0| 53 65 65 20 6c 69 73 74 | 69 6e 67 20 31 20 66 6f |See list|ing 1 fo|
|000010c0| 72 20 61 6e 20 65 78 61 | 6d 70 6c 65 20 6f 66 20 |r an exa|mple of |
|000010d0| 73 65 6e 64 69 6e 67 20 | 74 68 65 20 27 73 65 65 |sending |the 'see|
|000010e0| 6b 27 20 65 76 65 6e 74 | 2e 0d 43 68 65 63 6b 20 |k' event|..Check |
|000010f0| 66 6f 72 20 45 72 72 6f | 72 73 0d 49 66 20 44 6f |for Erro|rs.If Do|
|00001100| 63 56 69 65 77 65 72 20 | 63 61 6e 6e 6f 74 20 66 |cViewer |cannot f|
|00001110| 69 6e 64 20 74 68 65 20 | 65 6e 74 72 79 20 72 65 |ind the |entry re|
|00001120| 71 75 65 73 74 65 64 2c | 20 69 74 20 77 69 6c 6c |quested,| it will|
|00001130| 20 72 65 74 75 72 6e 20 | 61 6e 20 65 72 72 6f 72 | return |an error|
|00001140| 20 69 6e 20 74 68 65 20 | 72 65 70 6c 79 20 6f 66 | in the |reply of|
|00001150| 20 74 68 65 20 41 70 70 | 6c 65 20 65 76 65 6e 74 | the App|le event|
|00001160| 2e 20 20 53 65 65 20 6c | 69 73 74 69 6e 67 20 31 |. See l|isting 1|
|00001170| 20 66 6f 72 20 61 6e 20 | 65 78 61 6d 70 6c 65 20 | for an |example |
|00001180| 6f 66 20 68 6f 77 20 74 | 6f 20 64 65 74 65 72 6d |of how t|o determ|
|00001190| 69 6e 65 20 74 68 65 73 | 65 20 65 72 72 6f 72 73 |ine thes|e errors|
|000011a0| 2e 0d 4c 69 73 74 69 6e | 67 20 31 20 2d 20 53 65 |..Listin|g 1 - Se|
|000011b0| 6e 64 69 6e 67 20 74 68 | 65 20 27 73 65 65 6b 27 |nding th|e 'seek'|
|000011c0| 20 41 70 70 6c 65 20 65 | 76 65 6e 74 0d 2f 2f 4f | Apple e|vent.//O|
|000011d0| 70 65 6e 44 6f 63 0d 2f | 2f 20 54 68 69 73 20 72 |penDoc./|/ This r|
|000011e0| 6f 75 74 69 6e 65 20 74 | 61 6b 65 73 20 61 20 70 |outine t|akes a p|
|000011f0| 6f 69 6e 74 65 72 20 74 | 6f 20 61 20 53 65 65 6b |ointer t|o a Seek|
|00001200| 50 61 72 61 6d 52 65 63 | 0d 2f 2f 20 61 6e 64 20 |ParamRec|.// and |
|00001210| 73 65 6e 64 73 20 69 74 | 20 74 6f 20 44 6f 63 56 |sends it| to DocV|
|00001220| 69 65 77 65 72 2e 20 20 | 54 68 69 73 20 72 6f 75 |iewer. |This rou|
|00001230| 74 69 6e 65 20 61 73 73 | 75 6d 65 73 0d 2f 2f 20 |tine ass|umes.// |
|00001240| 74 68 61 74 20 79 6f 75 | 27 76 65 20 61 6c 72 65 |that you|'ve alre|
|00001250| 61 64 79 20 63 68 65 63 | 6b 65 64 20 74 6f 20 73 |ady chec|ked to s|
|00001260| 65 65 20 69 66 20 44 6f | 63 56 69 65 77 65 72 20 |ee if Do|cViewer |
|00001270| 69 73 20 72 75 6e 6e 69 | 6e 67 0d 2f 2f 20 49 20 |is runni|ng.// I |
|00001280| 72 65 6d 6f 76 65 64 20 | 6d 6f 73 74 20 74 68 65 |removed |most the|
|00001290| 20 65 72 72 6f 72 20 63 | 68 65 63 6b 69 6e 67 20 | error c|hecking |
|000012a0| 77 68 65 72 65 20 69 74 | 20 77 61 73 20 6f 62 76 |where it| was obv|
|000012b0| 69 6f 75 73 0d 2f 2f 20 | 74 6f 20 69 6d 70 72 6f |ious.// |to impro|
|000012c0| 76 65 20 72 65 61 64 61 | 62 69 6c 69 74 79 2e 0d |ve reada|bility..|
|000012d0| 4f 53 45 72 72 20 4f 70 | 65 6e 44 6f 63 28 53 65 |OSErr Op|enDoc(Se|
|000012e0| 65 6b 50 61 72 61 6d 52 | 65 63 20 2a 71 44 61 74 |ekParamR|ec *qDat|
|000012f0| 61 29 0d 7b 0d 09 4f 53 | 45 72 72 09 09 09 09 09 |a).{..OS|Err.....|
|00001300| 09 65 72 72 20 3d 20 6e | 6f 45 72 72 3b 0d 09 41 |.err = n|oErr;..A|
|00001310| 70 70 6c 65 45 76 65 6e | 74 09 09 6d 79 45 76 65 |ppleEven|t..myEve|
|00001320| 6e 74 2c 20 72 65 70 6c | 79 3b 0d 09 41 45 44 65 |nt, repl|y;..AEDe|
|00001330| 73 63 09 09 09 09 09 6d | 79 41 64 64 72 65 73 73 |sc.....m|yAddress|
|00001340| 3b 0d 09 6c 6f 6e 67 09 | 09 09 09 09 09 61 70 70 |;..long.|.....app|
|00001350| 53 69 67 20 3d 20 6b 44 | 6f 63 56 69 65 77 65 72 |Sig = kD|ocViewer|
|00001360| 41 70 70 53 69 67 3b 0d | 09 6c 6f 6e 67 09 09 09 |AppSig;.|.long...|
|00001370| 09 09 09 72 65 70 6c 79 | 45 72 72 6f 72 20 3d 20 |...reply|Error = |
|00001380| 6e 6f 45 72 72 3b 0d 09 | 53 69 7a 65 09 09 09 09 |noErr;..|Size....|
|00001390| 09 09 61 63 74 75 61 6c | 53 69 7a 65 3b 0d 09 44 |..actual|Size;..D|
|000013a0| 65 73 63 54 79 70 65 09 | 09 09 09 67 6f 74 54 79 |escType.|...gotTy|
|000013b0| 70 65 3b 0d 09 0d 09 65 | 72 72 20 3d 20 41 45 43 |pe;....e|rr = AEC|
|000013c0| 72 65 61 74 65 44 65 73 | 63 28 09 74 79 70 65 41 |reateDes|c(.typeA|
|000013d0| 70 70 6c 53 69 67 6e 61 | 74 75 72 65 2c 28 50 74 |pplSigna|ture,(Pt|
|000013e0| 72 29 26 61 70 70 53 69 | 67 2c 0d 09 09 09 09 09 |r)&appSi|g,......|
|000013f0| 09 73 69 7a 65 6f 66 28 | 61 70 70 53 69 67 29 2c |.sizeof(|appSig),|
|00001400| 26 6d 79 41 64 64 72 65 | 73 73 29 3b 0d 09 0d 09 |&myAddre|ss);....|
|00001410| 65 72 72 20 3d 20 41 45 | 43 72 65 61 74 65 41 70 |err = AE|CreateAp|
|00001420| 70 6c 65 45 76 65 6e 74 | 28 6b 44 6f 63 56 69 65 |pleEvent|(kDocVie|
|00001430| 77 65 72 45 76 65 6e 74 | 43 6c 61 73 73 2c 20 6b |werEvent|Class, k|
|00001440| 53 65 65 6b 45 76 65 6e | 74 49 44 2c 20 0d 09 09 |SeekEven|tID, ...|
|00001450| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |........|........|
|00001460| 26 6d 79 41 64 64 72 65 | 73 73 2c 20 6b 41 75 74 |&myAddre|ss, kAut|
|00001470| 6f 47 65 6e 65 72 61 74 | 65 52 65 74 75 72 6e 49 |oGenerat|eReturnI|
|00001480| 44 2c 20 0d 09 09 09 09 | 09 09 09 09 09 09 09 09 |D, .....|........|
|00001490| 09 09 09 09 09 09 6b 41 | 6e 79 54 72 61 6e 73 61 |......kA|nyTransa|
|000014a0| 63 74 69 6f 6e 49 44 2c | 20 26 6d 79 45 76 65 6e |ctionID,| &myEven|
|000014b0| 74 20 29 3b 0d 09 09 09 | 09 09 09 09 0d 09 65 72 |t );....|......er|
|000014c0| 72 20 3d 20 41 45 50 75 | 74 50 61 72 61 6d 50 74 |r = AEPu|tParamPt|
|000014d0| 72 28 20 26 6d 79 45 76 | 65 6e 74 2c 20 6b 65 79 |r( &myEv|ent, key|
|000014e0| 53 65 65 6b 50 61 72 61 | 6d 2c 20 74 79 70 65 57 |SeekPara|m, typeW|
|000014f0| 69 6c 64 43 61 72 64 2c | 20 09 09 09 09 09 09 09 |ildCard,| .......|
|00001500| 09 09 09 09 09 09 09 09 | 28 50 74 72 29 71 44 61 |........|(Ptr)qDa|
|00001510| 74 61 2c 20 73 69 7a 65 | 6f 66 28 53 65 65 6b 50 |ta, size|of(SeekP|
|00001520| 61 72 61 6d 52 65 63 29 | 20 29 3b 0d 09 65 72 72 |aramRec)| );..err|
|00001530| 20 3d 20 41 45 53 65 6e | 64 28 20 26 6d 79 45 76 | = AESen|d( &myEv|
|00001540| 65 6e 74 2c 20 26 72 65 | 70 6c 79 2c 20 6b 41 45 |ent, &re|ply, kAE|
|00001550| 57 61 69 74 52 65 70 6c | 79 2c 20 09 09 09 09 09 |WaitRepl|y, .....|
|00001560| 09 09 09 09 09 09 09 6b | 41 45 4e 6f 72 6d 61 6c |.......k|AENormal|
|00001570| 50 72 69 6f 72 69 74 79 | 2c 20 6b 41 45 44 65 66 |Priority|, kAEDef|
|00001580| 61 75 6c 74 54 69 6d 65 | 6f 75 74 2c 20 0d 09 09 |aultTime|out, ...|
|00001590| 09 09 09 09 09 09 09 09 | 6e 69 6c 2c 20 6e 69 6c |........|nil, nil|
|000015a0| 20 29 3b 0d 20 20 20 2f | 2f 20 43 68 65 63 6b 20 | );. /|/ Check |
|000015b0| 74 6f 20 73 65 65 20 69 | 66 20 79 6f 75 20 67 6f |to see i|f you go|
|000015c0| 74 20 61 6e 20 65 72 72 | 6f 72 0d 09 65 72 72 20 |t an err|or..err |
|000015d0| 3d 20 41 45 47 65 74 50 | 61 72 61 6d 50 74 72 28 |= AEGetP|aramPtr(|
|000015e0| 20 26 72 65 70 6c 79 2c | 20 6b 65 79 45 72 72 6f | &reply,| keyErro|
|000015f0| 72 4e 75 6d 62 65 72 2c | 20 74 79 70 65 4c 6f 6e |rNumber,| typeLon|
|00001600| 67 49 6e 74 65 67 65 72 | 2c 20 09 09 09 09 09 09 |gInteger|, ......|
|00001610| 09 09 09 09 09 09 09 09 | 09 26 67 6f 74 54 79 70 |........|.&gotTyp|
|00001620| 65 2c 20 28 50 74 72 29 | 26 72 65 70 6c 79 45 72 |e, (Ptr)|&replyEr|
|00001630| 72 6f 72 2c 0d 09 09 09 | 09 09 09 20 20 09 09 09 |ror,....|... ...|
|00001640| 09 09 09 09 09 73 69 7a | 65 6f 66 28 6c 6f 6e 67 |.....siz|eof(long|
|00001650| 29 2c 20 26 61 63 74 75 | 61 6c 53 69 7a 65 29 3b |), &actu|alSize);|
|00001660| 0d 09 2f 2f 20 53 70 65 | 63 69 61 6c 20 63 61 73 |..// Spe|cial cas|
|00001670| 65 20 6f 6e 20 41 45 44 | 65 73 63 4e 6f 74 46 6f |e on AED|escNotFo|
|00001680| 75 6e 64 20 62 65 63 61 | 75 73 65 20 77 65 27 6c |und beca|use we'l|
|00001690| 6c 20 67 65 74 20 61 6e | 20 65 72 72 6f 72 0d 09 |l get an| error..|
|000016a0| 2f 2f 20 69 66 20 74 68 | 65 72 65 20 69 73 20 6e |// if th|ere is n|
|000016b0| 6f 20 65 72 72 6f 72 20 | 69 6e 20 74 68 65 20 72 |o error |in the r|
|000016c0| 65 70 6c 79 2e 0d 09 69 | 66 20 28 28 65 72 72 20 |eply...i|f ((err |
|000016d0| 21 3d 20 6e 6f 45 72 72 | 29 20 26 26 20 28 65 72 |!= noErr|) && (er|
|000016e0| 72 20 21 3d 20 65 72 72 | 41 45 44 65 73 63 4e 6f |r != err|AEDescNo|
|000016f0| 74 46 6f 75 6e 64 29 29 | 0d 09 7b 0d 09 09 72 65 |tFound))|..{...re|
|00001700| 74 75 72 6e 20 65 72 72 | 3b 0d 09 7d 0d 09 2f 2f |turn err|;..}..//|
|00001710| 20 69 66 20 74 68 65 72 | 65 27 73 20 61 6e 20 65 | if ther|e's an e|
|00001720| 72 72 6f 72 20 66 72 6f | 6d 20 44 6f 63 56 69 65 |rror fro|m DocVie|
|00001730| 77 65 72 20 72 65 74 75 | 72 6e 20 69 74 2e 0d 09 |wer retu|rn it...|
|00001740| 2f 2f 20 6f 74 68 65 72 | 77 69 73 65 20 72 65 74 |// other|wise ret|
|00001750| 75 72 6e 20 6e 6f 45 72 | 72 2e 0d 09 69 66 20 28 |urn noEr|r...if (|
|00001760| 72 65 70 6c 79 45 72 72 | 6f 72 20 21 3d 20 6e 6f |replyErr|or != no|
|00001770| 45 72 72 29 0d 09 09 09 | 72 65 74 75 72 6e 20 72 |Err)....|return r|
|00001780| 65 70 6c 79 45 72 72 6f | 72 3b 0d 09 65 6c 73 65 |eplyErro|r;..else|
|00001790| 0d 09 09 09 72 65 74 75 | 72 6e 20 6e 6f 45 72 72 |....retu|rn noErr|
|000017a0| 3b 0d 7d 0d 0e cc 00 00 | 00 00 03 18 02 64 00 11 |;.}.....|.....d..|
|000017b0| 02 ff 0c 00 ff ff ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 02 64 00 00 03 18 00 00 | 00 00 00 00 00 a1 00 64 |.d......|.......d|
|000017d0| 00 0c 57 4f 52 44 00 00 | 00 00 00 45 01 ca 00 01 |..WORD..|...E....|
|000017e0| 00 0a 00 4e 00 7e 00 93 | 02 48 00 07 00 04 00 04 |...N.~..|.H......|
|000017f0| 00 20 00 8c 00 7f 00 8c | 02 40 00 a1 00 96 00 0c |. ......|.@......|
|00001800| 01 00 00 00 01 00 00 00 | 00 00 00 00 00 2c 00 13 |........|.....,..|
|00001810| 32 68 10 41 70 70 6c 65 | 47 61 72 61 6d 6f 6e 64 |2h.Apple|Garamond|
|00001820| 20 42 64 00 00 03 32 68 | 00 0d 00 18 00 2e 00 04 | Bd...2h|........|
|00001830| 00 00 ff 00 00 10 00 45 | 01 ca 00 45 01 ca 00 a1 |.......E|...E....|
|00001840| 00 64 00 10 4f 4e 4c 4e | 00 64 ff ff 00 00 00 00 |.d..ONLN|.d......|
|00001850| 00 00 00 00 00 2b b1 7f | 10 41 70 70 6c 65 20 44 |.....+..|.Apple D|
|00001860| 6f 63 56 69 65 77 65 72 | 0d 00 00 a0 00 97 00 a1 |ocViewer|........|
|00001870| 00 96 00 0c 01 00 00 00 | 01 00 00 00 00 00 00 00 |........|........|
|00001880| 00 0d 00 11 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00001890| ff ff 00 00 00 00 00 00 | 00 00 00 28 00 85 01 df |........|...(....|
|000018a0| 0e 54 65 63 68 6e 69 63 | 61 6c 20 4e 6f 74 65 00 |.Technic|al Note.|
|000018b0| 00 a0 00 97 00 a1 00 96 | 00 0c 01 00 00 00 01 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 2c | 00 13 32 67 10 41 70 70 |.......,|..2g.App|
|000018d0| 6c 65 47 61 72 61 6d 6f | 6e 64 20 42 6b 00 00 03 |leGaramo|nd Bk...|
|000018e0| 32 67 00 04 01 00 00 0d | 00 10 00 15 8b 60 00 28 |2g......|.....`.(|
|000018f0| 00 48 00 82 01 0d 00 15 | 8b 60 00 a1 00 64 00 10 |.H......|.`...d..|
|00001900| 4f 4e 4c 4e 00 64 ff ff | 00 00 00 00 00 00 00 00 |ONLN.d..|........|
|00001910| 00 2a 13 27 f0 20 41 70 | 70 6c 65 20 43 6f 6d 70 |.*.'. Ap|ple Comp|
|00001920| 75 74 65 72 2c 20 49 6e | 63 2e 2c 20 44 65 76 65 |uter, In|c., Deve|
|00001930| 6c 6f 70 65 72 20 50 72 | 65 73 73 00 00 a0 00 97 |loper Pr|ess.....|
|00001940| 00 90 00 04 00 00 00 00 | 00 20 00 20 00 00 00 00 |........|. . ....|
|00001950| 00 20 00 20 00 68 00 8a | 00 88 00 aa 00 03 00 00 |. . .h..|........|
|00001960| 00 00 00 00 00 00 7f fc | 7f fc 7f fe ff fc ff ff |........|........|
|00001970| ff fe ff ff ff fe ff ff | ff fe ff ff ff fe ff ff |........|........|
|00001980| ff fe ff ff ff fe ff ff | ff fe ff ff ff fe ff ff |........|........|
|00001990| ff fe ff ff ff fe ff ff | ff fe ff ff ff fe ff ff |........|........|
|000019a0| ff fe ff ff ff fe ff ff | ff fe ff ff ff fe ff ff |........|........|
|000019b0| ff fe ff ff ff fe ff ff | ff fe 00 3f ff 00 00 1f |........|...?....|
|000019c0| ff f8 00 1f ff f8 00 0f | ff f8 00 07 ff f8 00 03 |........|........|
|000019d0| ff f8 00 00 ff f8 00 00 | 00 f8 00 00 00 38 00 90 |........|.....8..|
|000019e0| 00 04 00 00 00 00 00 20 | 00 20 00 00 00 00 00 20 |....... |. ..... |
|000019f0| 00 20 00 68 00 8a 00 88 | 00 aa 00 01 00 00 00 00 |. .h....|........|
|00001a00| 00 00 00 00 7f fc 7f fc | 40 02 80 04 c0 01 00 06 |........|@.......|
|00001a10| c0 01 00 06 c7 e1 00 06 | c0 01 0f c6 c7 01 00 06 |........|........|
|00001a20| c0 01 0e 06 c7 c1 00 06 | c0 01 0c 06 c0 01 00 06 |........|........|
|00001a30| c7 81 0f c6 c0 01 00 06 | c6 21 00 06 c0 51 0f c6 |........|.!...Q..|
|00001a40| c7 c9 00 06 c0 25 00 06 | c0 13 e0 06 c0 08 18 06 |.....%..|........|
|00001a50| ff fc 07 fe ff fa 03 fe | 00 25 01 00 00 12 80 f8 |........|.%......|
|00001a60| 00 11 80 38 00 08 00 38 | 00 04 00 38 00 03 00 38 |...8...8|...8...8|
|00001a70| 00 00 ff 38 00 00 00 f8 | 00 00 00 38 00 01 00 0a |...8....|...8....|
|00001a80| 00 00 00 00 03 15 02 5f | 00 2c 00 0b 00 10 08 50 |......._|.,.....P|
|00001a90| 61 6c 61 74 69 6e 6f 00 | 00 03 00 10 00 04 00 00 |alatino.|........|
|00001aa0| 00 0d 00 12 00 2e 00 04 | 00 00 00 00 00 10 00 01 |........|........|
|00001ab0| 00 01 00 01 00 01 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00001ac0| 00 64 00 00 00 ad 00 7e | 00 c1 02 18 00 28 00 bc |.d.....~|.....(..|
|00001ad0| 00 7e 2f 23 30 30 34 20 | 4e 65 77 20 41 70 70 6c |.~/#004 |New Appl|
|00001ae0| 65 20 45 76 65 6e 74 20 | 53 75 70 70 6f 72 74 20 |e Event |Support |
|00001af0| 69 6e 20 44 6f 63 56 69 | 65 77 65 72 20 31 2e 31 |in DocVi|ewer 1.1|
|00001b00| 2e 31 00 04 05 00 00 0d | 00 0e 00 a1 00 64 00 10 |.1......|.....d..|
|00001b10| 4f 4e 4c 4e 00 64 00 32 | 00 e3 00 5a 00 f3 00 a9 |ONLN.d.2|...Z....|
|00001b20| 00 28 00 ef 00 5a 0c 49 | 6e 74 72 6f 64 75 63 74 |.(...Z.I|ntroduct|
|00001b30| 69 6f 6e 00 00 04 00 00 | 00 0d 00 0c 00 06 00 03 |ion.....|........|
|00001b40| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 3f |.....d..|ONLN.d.?|
|00001b50| 00 f9 00 7e 01 07 01 9c | 00 2b 24 14 2e 42 65 67 |...~....|.+$..Beg|
|00001b60| 69 6e 6e 69 6e 67 20 77 | 69 74 68 20 76 65 72 73 |inning w|ith vers|
|00001b70| 69 6f 6e 20 31 2e 31 2e | 31 2c 20 41 70 70 6c 65 |ion 1.1.|1, Apple|
|00001b80| 20 44 6f 63 56 69 65 77 | 65 72 20 00 00 06 00 04 | DocView|er .....|
|00001b90| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 6d |.....d..|ONLN.d.m|
|00001ba0| 00 f9 01 9c 01 07 02 05 | 00 28 01 03 01 9c 12 73 |........|.(.....s|
|00001bb0| 75 70 70 6f 72 74 73 20 | 61 20 73 70 65 63 69 61 |upports |a specia|
|00001bc0| 6c 00 00 06 00 00 00 00 | 00 a1 00 64 00 10 4f 4e |l.......|...d..ON|
|00001bd0| 4c 4e 00 64 00 80 01 07 | 00 7e 01 15 01 67 00 28 |LN.d....|.~...g.(|
|00001be0| 01 11 00 7e 28 41 70 70 | 6c 65 20 65 76 65 6e 74 |...~(App|le event|
|00001bf0| 2e 20 20 54 68 69 73 20 | 41 70 70 6c 65 20 65 76 |. This |Apple ev|
|00001c00| 65 6e 74 20 69 73 20 6b | 6e 6f 77 6e 20 00 00 06 |ent is k|nown ...|
|00001c10| 00 01 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00001c20| 00 a8 01 07 01 67 01 15 | 02 05 00 29 e9 19 61 73 |.....g..|...)..as|
|00001c30| 20 74 68 65 20 22 44 6f | 63 56 69 65 77 65 72 20 | the "Do|cViewer |
|00001c40| 4c 6f 6f 6b 75 70 22 00 | 00 06 00 00 00 00 00 a1 |Lookup".|........|
|00001c50| 00 64 00 10 4f 4e 4c 4e | 00 64 00 c2 01 15 00 7e |.d..ONLN|.d.....~|
|00001c60| 01 23 01 06 00 28 01 1f | 00 7e 19 65 76 65 6e 74 |.#...(..|.~.event|
|00001c70| 2e 20 20 57 69 74 68 20 | 74 68 69 73 20 65 76 65 |. With |this eve|
|00001c80| 6e 74 2c 20 00 06 00 01 | 00 00 00 a1 00 64 00 10 |nt, ....|.....d..|
|00001c90| 4f 4e 4c 4e 00 64 00 db | 01 15 01 06 01 23 02 05 |ONLN.d..|.....#..|
|00001ca0| 00 29 88 2d 69 74 20 69 | 73 20 70 6f 73 73 69 62 |.).-it i|s possib|
|00001cb0| 6c 65 20 74 6f 20 73 65 | 6e 64 20 61 20 6d 65 73 |le to se|nd a mes|
|00001cc0| 73 61 67 65 20 74 6f 20 | 44 6f 63 56 69 65 77 65 |sage to |DocViewe|
|00001cd0| 72 00 00 06 00 02 00 00 | 00 a1 00 64 00 10 4f 4e |r.......|...d..ON|
|00001ce0| 4c 4e 00 64 01 09 01 23 | 00 7e 01 31 01 dd 00 28 |LN.d...#|.~.1...(|
|00001cf0| 01 2d 00 7e 3c 72 65 71 | 75 65 73 74 69 6e 67 20 |.-.~<req|uesting |
|00001d00| 74 68 61 74 20 69 74 20 | 6f 70 65 6e 20 61 20 70 |that it |open a p|
|00001d10| 61 72 74 69 63 75 6c 61 | 72 20 64 6f 63 75 6d 65 |articula|r docume|
|00001d20| 6e 74 20 61 6e 64 20 74 | 75 72 6e 20 74 6f 20 61 |nt and t|urn to a|
|00001d30| 20 00 00 06 00 03 00 00 | 00 a1 00 64 00 10 4f 4e | .......|...d..ON|
|00001d40| 4c 4e 00 64 01 45 01 23 | 01 dd 01 31 02 05 00 28 |LN.d.E.#|...1...(|
|00001d50| 01 2d 01 dd 08 73 70 65 | 63 69 66 69 63 00 00 06 |.-...spe|cific...|
|00001d60| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00001d70| 01 4e 01 31 00 7e 01 3f | 01 2f 00 28 01 3b 00 7e |.N.1.~.?|./.(.;.~|
|00001d80| 1e 68 65 61 64 69 6e 67 | 2e 20 20 54 68 69 73 20 |.heading|. This |
|00001d90| 44 6f 63 56 69 65 77 65 | 72 20 54 65 63 68 20 00 |DocViewe|r Tech .|
|00001da0| 00 06 00 01 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00001db0| 00 64 01 6c 01 31 01 2f | 01 3f 02 05 00 29 b1 24 |.d.l.1./|.?...).$|
|00001dc0| 4e 6f 74 65 20 64 65 73 | 63 72 69 62 65 73 20 74 |Note des|cribes t|
|00001dd0| 68 65 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |he imple|mentatio|
|00001de0| 6e 20 6f 66 00 06 00 00 | 00 00 00 a1 00 64 00 10 |n of....|.....d..|
|00001df0| 4f 4e 4c 4e 00 64 01 91 | 01 3f 00 7e 01 4d 01 54 |ONLN.d..|.?.~.M.T|
|00001e00| 00 28 01 49 00 7e 29 74 | 68 69 73 20 65 76 65 6e |.(.I.~)t|his even|
|00001e10| 74 2e 20 20 50 6c 65 61 | 73 65 20 6e 6f 74 65 20 |t. Plea|se note |
|00001e20| 74 68 61 74 20 74 65 63 | 68 20 6e 6f 74 65 73 20 |that tec|h notes |
|00001e30| 00 06 00 01 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00001e40| 00 64 01 ba 01 3f 01 54 | 01 4d 02 05 00 29 d6 1f |.d...?.T|.M...)..|
|00001e50| 31 20 2d 20 33 20 64 6f | 20 6e 6f 74 20 61 64 64 |1 - 3 do| not add|
|00001e60| 72 65 73 73 20 74 68 65 | 20 56 69 65 77 65 72 00 |ress the| Viewer.|
|00001e70| 00 06 00 00 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00001e80| 00 64 01 da 01 4d 00 7e | 01 5b 01 12 00 28 01 57 |.d...M.~|.[...(.W|
|00001e90| 00 7e 19 70 6f 72 74 69 | 6f 6e 20 6f 66 20 44 6f |.~.porti|on of Do|
|00001ea0| 63 56 69 65 77 65 72 20 | 61 6e 64 20 00 06 00 01 |cViewer |and ....|
|00001eb0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 f3 |.....d..|ONLN.d..|
|00001ec0| 01 4d 01 12 01 5b 02 05 | 00 29 94 2c 61 72 65 20 |.M...[..|.).,are |
|00001ed0| 6f 6e 6c 79 20 61 76 61 | 69 6c 61 62 6c 65 20 74 |only ava|ilable t|
|00001ee0| 6f 20 6c 69 63 65 6e 73 | 65 65 73 20 6f 66 20 74 |o licens|ees of t|
|00001ef0| 68 65 20 41 70 70 6c 65 | 00 06 00 00 00 00 00 a1 |he Apple|........|
|00001f00| 00 64 00 10 4f 4e 4c 4e | 00 64 02 20 01 5b 00 7e |.d..ONLN|.d. .[.~|
|00001f10| 01 69 00 ec 00 28 01 65 | 00 7e 12 44 6f 63 56 69 |.i...(.e|.~.DocVi|
|00001f20| 65 77 65 72 20 42 75 69 | 6c 64 65 72 2e 00 00 04 |ewer Bui|lder....|
|00001f30| 05 00 00 0d 00 0e 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00001f40| 00 64 02 33 01 77 00 5a | 01 87 00 dc 00 28 01 83 |.d.3.w.Z|.....(..|
|00001f50| 00 5a 11 44 6f 63 56 69 | 65 77 65 72 4c 6f 6f 6b |.Z.DocVi|ewerLook|
|00001f60| 75 70 2e 68 00 04 00 00 | 00 0d 00 0c 00 a1 00 64 |up.h....|.......d|
|00001f70| 00 10 4f 4e 4c 4e 00 64 | 02 45 01 8d 00 7e 01 9b |..ONLN.d|.E...~..|
|00001f80| 01 de 00 2b 24 14 3e 41 | 63 63 6f 6d 70 61 6e 79 |...+$.>A|ccompany|
|00001f90| 69 6e 67 20 74 68 69 73 | 20 54 65 63 68 20 4e 6f |ing this| Tech No|
|00001fa0| 74 65 20 69 73 20 61 20 | 43 20 68 65 61 64 65 72 |te is a |C header|
|00001fb0| 20 66 69 6c 65 20 66 6f | 72 20 6d 61 6e 79 20 6f | file fo|r many o|
|00001fc0| 66 20 74 68 65 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |f the...|.d..ONLN|
|00001fd0| 00 64 02 84 01 9b 00 7e | 01 a9 01 d2 00 2a 0e 3d |.d.....~|.....*.=|
|00001fe0| 63 6f 6e 73 74 61 6e 74 | 73 20 61 6e 64 20 64 61 |constant|s and da|
|00001ff0| 74 61 20 73 74 72 75 63 | 74 75 72 65 73 20 20 79 |ta struc|tures y|
|00002000| 6f 75 20 77 69 6c 6c 20 | 6e 65 65 64 20 77 68 65 |ou will |need whe|
|00002010| 6e 20 69 6e 74 65 72 61 | 63 74 69 6e 67 00 00 a1 |n intera|cting...|
|00002020| 00 64 00 10 4f 4e 4c 4e | 00 64 02 c2 01 a9 00 7e |.d..ONLN|.d.....~|
|00002030| 01 b7 01 42 00 2a 0e 20 | 70 72 6f 67 72 61 6d 6d |...B.*. |programm|
|00002040| 61 74 69 63 61 6c 6c 79 | 20 77 69 74 68 20 44 6f |atically| with Do|
|00002050| 63 56 69 65 77 65 72 2e | 00 04 05 00 00 0d 00 0e |cViewer.|........|
|00002060| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 e3 01 c5 |...d..ON|LN.d....|
|00002070| 00 5a 01 d5 00 cb 00 28 | 01 d1 00 5a 10 45 76 65 |.Z.....(|...Z.Eve|
|00002080| 6e 74 20 50 61 72 61 6d | 65 74 65 72 73 00 00 04 |nt Param|eters...|
|00002090| 00 00 00 0d 00 0c 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|000020a0| 00 64 02 f4 01 db 00 7e | 01 e9 01 ee 00 2b 24 14 |.d.....~|.....+$.|
|000020b0| 40 54 68 65 20 4c 6f 6f | 6b 75 70 20 65 76 65 6e |@The Loo|kup even|
|000020c0| 74 20 61 63 63 65 70 74 | 73 20 74 68 72 65 65 20 |t accept|s three |
|000020d0| 70 61 72 61 6d 65 74 65 | 72 73 2e 20 20 54 68 65 |paramete|rs. The|
|000020e0| 73 65 20 70 61 72 61 6d | 65 74 65 72 73 20 61 72 |se param|eters ar|
|000020f0| 65 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 35 |e....d..|ONLN.d.5|
|00002100| 01 e9 00 7e 01 f7 01 ef | 00 2a 0e 45 65 6e 63 61 |...~....|.*.Eenca|
|00002110| 70 73 75 6c 61 74 65 64 | 20 69 6e 74 6f 20 61 20 |psulated| into a |
|00002120| 73 69 6e 67 6c 65 20 64 | 61 74 61 20 73 74 72 75 |single d|ata stru|
|00002130| 63 74 75 72 65 20 66 6f | 72 20 74 68 69 73 20 76 |cture fo|r this v|
|00002140| 65 72 73 69 6f 6e 2e 20 | 20 28 57 65 20 77 69 6c |ersion. | (We wil|
|00002150| 6c 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 7b |l....d..|ONLN.d.{|
|00002160| 01 f7 00 7e 02 05 02 03 | 00 2a 0e 47 70 61 72 61 |...~....|.*.Gpara|
|00002170| 6d 65 74 65 72 69 7a 65 | 20 74 68 65 6d 20 61 74 |meterize| them at|
|00002180| 20 74 68 65 20 41 70 70 | 6c 65 20 65 76 65 6e 74 | the App|le event|
|00002190| 20 6c 65 76 65 6c 20 66 | 6f 72 20 74 68 65 20 6e | level f|or the n|
|000021a0| 65 78 74 20 72 65 6c 65 | 61 73 65 2e 29 20 20 54 |ext rele|ase.) T|
|000021b0| 68 69 73 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |his....d|..ONLN.d|
|000021c0| 03 c3 02 05 00 7e 02 13 | 02 02 00 2a 0e 47 64 61 |.....~..|...*.Gda|
|000021d0| 74 61 20 73 74 72 75 63 | 74 75 72 65 20 69 73 20 |ta struc|ture is |
|000021e0| 74 68 65 20 6f 6e 6c 79 | 20 70 61 72 61 6d 65 74 |the only| paramet|
|000021f0| 65 72 20 6f 66 20 74 68 | 65 20 41 70 70 6c 65 20 |er of th|e Apple |
|00002200| 65 76 65 6e 74 2e 20 20 | 54 68 65 20 73 74 72 75 |event. |The stru|
|00002210| 63 74 75 72 65 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |cture...|.d..ONLN|
|00002220| 00 64 04 0b 02 13 00 7e | 02 21 00 c5 00 2a 0e 0e |.d.....~|.!...*..|
|00002230| 69 73 20 64 65 66 69 6e | 65 64 20 61 73 3a 00 2c |is defin|ed as:.,|
|00002240| 00 0a 00 16 07 43 6f 75 | 72 69 65 72 00 03 00 16 |.....Cou|rier....|
|00002250| 00 0d 00 0a 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00002260| 04 1a 02 27 00 7e 02 33 | 00 a8 00 2a 13 07 74 79 |...'.~.3|...*..ty|
|00002270| 70 65 64 65 66 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |pedef...|.d..ONLN|
|00002280| 00 64 04 22 02 27 00 b4 | 02 33 00 e4 00 29 36 08 |.d.".'..|.3...)6.|
|00002290| 73 74 72 75 63 74 20 7b | 00 a1 00 64 00 10 4f 4e |struct {|...d..ON|
|000022a0| 4c 4e 00 64 04 2c 02 38 | 00 a2 02 44 00 c6 00 28 |LN.d.,.8|...D...(|
|000022b0| 02 41 00 a2 06 46 53 53 | 70 65 63 00 00 a1 00 64 |.A...FSS|pec....d|
|000022c0| 00 10 4f 4e 4c 4e 00 64 | 04 33 02 38 00 d8 02 44 |..ONLN.d|.3.8...D|
|000022d0| 00 f6 00 29 36 05 61 44 | 6f 63 3b 00 00 a1 00 64 |...)6.aD|oc;....d|
|000022e0| 00 10 4f 4e 4c 4e 00 64 | 04 3b 02 38 01 20 02 44 |..ONLN.d|.;.8. .D|
|000022f0| 01 2c 00 29 48 02 2f 2f | 00 a1 00 64 00 10 4f 4e |.,.)H.//|...d..ON|
|00002300| 4c 4e 00 64 04 3e 02 38 | 01 32 02 44 01 f8 00 29 |LN.d.>.8|.2.D...)|
|00002310| 12 21 46 53 53 70 65 63 | 20 66 6f 72 20 74 68 65 |.!FSSpec| for the|
|00002320| 20 44 6f 63 20 74 6f 20 | 6f 70 65 6e 2f 73 65 61 | Doc to |open/sea|
|00002330| 72 63 68 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |rch....d|..ONLN.d|
|00002340| 04 61 02 49 00 a2 02 55 | 00 c6 00 28 02 52 00 a2 |.a.I...U|...(.R..|
|00002350| 06 53 74 72 32 35 35 00 | 00 a1 00 64 00 10 4f 4e |.Str255.|...d..ON|
|00002360| 4c 4e 00 64 04 68 02 49 | 00 d8 02 55 01 0e 00 29 |LN.d.h.I|...U...)|
|00002370| 36 09 61 50 61 74 74 65 | 72 6e 3b 00 00 a1 00 64 |6.aPatte|rn;....d|
|00002380| 00 10 4f 4e 4c 4e 00 64 | 04 72 02 49 01 20 02 55 |..ONLN.d|.r.I. .U|
|00002390| 01 2c 00 29 48 02 2f 2f | 00 a1 00 64 00 10 4f 4e |.,.)H.//|...d..ON|
|000023a0| 4c 4e 00 64 04 75 02 49 | 01 32 02 55 01 fe 00 29 |LN.d.u.I|.2.U...)|
|000023b0| 12 22 53 74 72 69 6e 67 | 20 69 6e 20 68 65 61 64 |."String| in head|
|000023c0| 69 6e 67 20 74 6f 20 66 | 69 6e 64 20 28 6c 65 6e |ing to f|ind (len|
|000023d0| 67 74 68 20 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |gth ...d|..ONLN.d|
|000023e0| 04 9f 02 54 01 20 02 60 | 01 68 00 28 02 5d 01 20 |...T. .`|.h.(.]. |
|000023f0| 0c 2f 2f 20 70 72 65 66 | 69 78 65 64 29 00 00 a1 |.// pref|ixed)...|
|00002400| 00 64 00 10 4f 4e 4c 4e | 00 64 04 ad 02 65 00 a2 |.d..ONLN|.d...e..|
|00002410| 02 71 00 c0 00 28 02 6e | 00 a2 05 73 68 6f 72 74 |.q...(.n|...short|
|00002420| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 04 b4 02 65 |...d..ON|LN.d...e|
|00002430| 00 d8 02 71 01 2c 00 29 | 36 0e 61 63 63 65 73 73 |...q.,.)|6.access|
|00002440| 4c 65 76 65 6c 3b 2f 2f | 00 a1 00 64 00 10 4f 4e |Level;//|...d..ON|
|00002450| 4c 4e 00 64 04 c3 02 65 | 01 32 02 71 01 6e 00 29 |LN.d...e|.2.q.n.)|
|00002460| 5a 0a 66 69 6e 64 20 6c | 65 76 65 6c 00 a1 00 64 |Z.find l|evel...d|
|00002470| 00 10 4f 4e 4c 4e 00 64 | 04 cf 02 76 00 7e 02 82 |..ONLN.d|...v.~..|
|00002480| 01 c2 00 28 02 7f 00 7e | 36 7d 53 65 65 6b 50 61 |...(...~|6}SeekPa|
|00002490| 72 61 6d 52 65 63 2c 20 | 2a 53 65 65 6b 50 61 72 |ramRec, |*SeekPar|
|000024a0| 61 6d 52 65 63 50 74 72 | 2c 20 2a 2a 53 65 65 6b |amRecPtr|, **Seek|
|000024b0| 50 61 72 61 6d 52 65 63 | 48 61 6e 64 6c 65 3b 00 |ParamRec|Handle;.|
|000024c0| 00 03 00 10 00 0d 00 0c | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|000024d0| 4c 4e 00 64 05 06 02 87 | 00 7e 02 95 01 f2 00 2a |LN.d....|.~.....*|
|000024e0| 12 41 54 68 65 20 66 69 | 72 73 74 20 70 61 72 61 |.AThe fi|rst para|
|000024f0| 6d 65 74 65 72 20 69 73 | 20 61 6e 20 46 53 53 70 |meter is| an FSSp|
|00002500| 65 63 20 74 6f 20 74 68 | 65 20 64 6f 63 75 6d 65 |ec to th|e docume|
|00002510| 6e 74 20 79 6f 75 20 77 | 69 73 68 20 74 6f 20 6f |nt you w|ish to o|
|00002520| 70 65 6e 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |pen....d|..ONLN.d|
|00002530| 05 48 02 95 00 7e 02 a3 | 01 fc 00 2a 0e 43 61 6e |.H...~..|...*.Can|
|00002540| 64 20 70 65 72 66 6f 72 | 6d 20 74 68 65 20 6c 6f |d perfor|m the lo|
|00002550| 6f 6b 75 70 20 69 6e 2e | 20 20 44 6f 63 56 69 65 |okup in.| DocVie|
|00002560| 77 65 72 20 77 69 6c 6c | 20 6f 70 65 6e 20 74 68 |wer will| open th|
|00002570| 69 73 20 64 6f 63 75 6d | 65 6e 74 20 69 66 20 69 |is docum|ent if i|
|00002580| 74 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 05 8c |t....d..|ONLN.d..|
|00002590| 02 a3 00 7e 02 b1 01 f4 | 00 2a 0e 3f 69 73 6e 27 |...~....|.*.?isn'|
|000025a0| 74 20 61 6c 72 65 61 64 | 79 20 6f 70 65 6e 2e 20 |t alread|y open. |
|000025b0| 20 54 68 69 73 20 64 6f | 63 75 6d 65 6e 74 20 6d | This do|cument m|
|000025c0| 75 73 74 20 62 65 20 61 | 20 44 6f 63 56 69 65 77 |ust be a| DocView|
|000025d0| 65 72 20 64 6f 63 75 6d | 65 6e 74 00 00 a1 00 64 |er docum|ent....d|
|000025e0| 00 10 4f 4e 4c 4e 00 64 | 05 cc 02 b1 00 7e 02 bf |..ONLN.d|.....~..|
|000025f0| 01 1e 00 2a 0e 1a 28 43 | 72 65 61 74 6f 72 3a 20 |...*..(C|reator: |
|00002600| 48 4c 58 32 20 54 79 70 | 65 3a 4f 4e 4c 4e 2e 29 |HLX2 Typ|e:ONLN.)|
|00002610| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 05 e6 02 ae |...d..ON|LN.d....|
|00002620| 01 1e 02 bc 01 21 00 28 | 02 b8 01 1e 01 20 00 a1 |.....!.(|..... ..|
|00002630| 00 64 00 10 4f 4e 4c 4e | 00 64 05 e7 02 b1 01 21 |.d..ONLN|.d.....!|
|00002640| 02 bf 01 ee 00 2b 03 03 | 25 20 49 66 20 79 6f 75 |.....+..|% If you|
|00002650| 20 70 61 73 73 20 61 20 | 64 6f 63 75 6d 65 6e 74 | pass a |document|
|00002660| 20 74 68 61 74 20 64 6f | 65 73 20 6e 6f 74 00 ff | that do|es not..|
|00002670| 10 70 00 00 00 00 03 18 | 02 64 00 11 02 ff 0c 00 |.p......|.d......|
|00002680| ff ff ff ff 00 00 00 00 | 00 00 00 00 02 64 00 00 |........|.....d..|
|00002690| 03 18 00 00 00 00 00 00 | 00 01 00 0a 00 00 00 00 |........|........|
|000026a0| 03 15 02 5f 00 2c 00 0b | 00 10 08 50 61 6c 61 74 |..._.,..|...Palat|
|000026b0| 69 6e 6f 00 00 03 00 10 | 00 0d 00 0c 00 2e 00 04 |ino.....|........|
|000026c0| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000026d0| 00 00 00 48 00 7e 00 56 | 01 4c 00 2b 7e 52 26 62 |...H.~.V|.L.+~R&b|
|000026e0| 65 6c 6f 6e 67 20 74 6f | 20 44 6f 63 56 69 65 77 |elong to| DocView|
|000026f0| 65 72 2c 20 69 74 20 77 | 69 6c 6c 20 72 65 74 75 |er, it w|ill retu|
|00002700| 72 6e 20 61 20 00 00 2c | 00 0a 00 16 07 43 6f 75 |rn a ..,|.....Cou|
|00002710| 72 69 65 72 00 03 00 16 | 00 0d 00 0a 00 a1 00 64 |rier....|.......d|
|00002720| 00 10 4f 4e 4c 4e 00 64 | 00 26 00 49 01 4c 00 55 |..ONLN.d|.&.I.L.U|
|00002730| 01 a6 00 29 ce 0f 6b 57 | 72 6f 6e 67 46 69 6c 65 |...)..kW|rongFile|
|00002740| 54 79 70 65 20 00 00 03 | 00 10 00 0d 00 0c 00 a1 |Type ...|........|
|00002750| 00 64 00 10 4f 4e 4c 4e | 00 64 00 35 00 48 01 a6 |.d..ONLN|.d.5.H..|
|00002760| 00 56 01 ea 00 29 5a 0d | 69 6e 20 74 68 65 20 27 |.V...)Z.|in the '|
|00002770| 65 72 72 6e 27 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |errn'...|.d..ONLN|
|00002780| 00 64 00 43 00 56 00 7e | 00 64 01 44 00 28 00 60 |.d.C.V.~|.d.D.(.`|
|00002790| 00 7e 23 70 61 72 61 6d | 65 74 65 72 20 6f 66 20 |.~#param|eter of |
|000027a0| 74 68 65 20 41 70 70 6c | 65 20 65 76 65 6e 74 20 |the Appl|e event |
|000027b0| 72 65 70 6c 79 2e 00 a1 | 00 64 00 10 4f 4e 4c 4e |reply...|.d..ONLN|
|000027c0| 00 64 00 69 00 6a 00 7e | 00 78 02 01 00 2a 14 43 |.d.i.j.~|.x...*.C|
|000027d0| 54 68 65 20 73 65 63 6f | 6e 64 20 70 61 72 61 6d |The seco|nd param|
|000027e0| 65 74 65 72 20 69 73 20 | 74 68 65 20 68 65 61 64 |eter is |the head|
|000027f0| 69 6e 67 20 79 6f 75 20 | 77 69 73 68 20 44 6f 63 |ing you |wish Doc|
|00002800| 56 69 65 77 65 72 20 74 | 6f 20 6c 6f 6f 6b 20 66 |Viewer t|o look f|
|00002810| 6f 72 2e 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |or.....d|..ONLN.d|
|00002820| 00 ae 00 78 00 7e 00 86 | 01 e8 00 2a 0e 41 54 68 |...x.~..|...*.ATh|
|00002830| 69 73 20 69 73 20 61 20 | 73 69 6d 70 6c 65 20 50 |is is a |simple P|
|00002840| 61 73 63 61 6c 2d 73 74 | 79 6c 65 20 73 74 72 69 |ascal-st|yle stri|
|00002850| 6e 67 20 77 69 74 68 20 | 61 20 6d 61 78 69 6d 75 |ng with |a maximu|
|00002860| 6d 20 6c 65 6e 67 74 68 | 20 6f 66 20 32 35 35 00 |m length| of 255.|
|00002870| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 f0 00 86 |...d..ON|LN.d....|
|00002880| 00 7e 00 94 01 f2 00 2a | 0e 45 63 68 61 72 61 63 |.~.....*|.Echarac|
|00002890| 74 65 72 73 2e 20 20 44 | 6f 63 56 69 65 77 65 72 |ters. D|ocViewer|
|000028a0| 20 75 73 65 73 20 74 68 | 69 73 20 73 74 72 69 6e | uses th|is strin|
|000028b0| 67 20 61 73 20 61 20 70 | 61 74 74 65 72 6e 20 74 |g as a p|attern t|
|000028c0| 6f 20 6d 61 74 63 68 20 | 61 67 61 69 6e 73 74 00 |o match |against.|
|000028d0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 36 00 94 |...d..ON|LN.d.6..|
|000028e0| 00 7e 00 a2 01 f8 00 2a | 0e 41 74 68 65 20 64 6f |.~.....*|.Athe do|
|000028f0| 63 75 6d 65 6e 74 27 73 | 20 54 61 62 6c 65 20 6f |cument's| Table o|
|00002900| 66 20 43 6f 6e 74 65 6e | 74 73 2e 20 20 54 68 65 |f Conten|ts. The|
|00002910| 20 63 6f 6d 70 61 72 69 | 73 6f 6e 20 69 73 20 61 | compari|son is a|
|00002920| 63 63 6f 6d 70 6c 69 73 | 68 65 64 00 00 a1 00 64 |ccomplis|hed....d|
|00002930| 00 10 4f 4e 4c 4e 00 64 | 01 78 00 a2 00 7e 00 b0 |..ONLN.d|.x...~..|
|00002940| 01 fd 00 2a 0e 4b 77 69 | 74 68 6f 75 74 20 72 65 |...*.Kwi|thout re|
|00002950| 67 61 72 64 20 74 6f 20 | 63 61 73 65 20 6f 72 20 |gard to |case or |
|00002960| 64 69 61 63 72 69 74 69 | 63 61 6c 20 6d 61 72 6b |diacriti|cal mark|
|00002970| 73 2e 20 28 65 2e 67 2e | 20 46 41 54 20 3d 3d 20 |s. (e.g.| FAT == |
|00002980| 66 41 74 2c 20 20 66 8c | 74 20 3d 20 66 61 74 29 |fAt, f.|t = fat)|
|00002990| 2e 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 c5 |.....d..|ONLN.d..|
|000029a0| 00 b0 00 7e 00 be 01 d8 | 00 2a 0e 40 49 66 20 74 |...~....|.*.@If t|
|000029b0| 68 65 20 73 74 72 69 6e | 67 20 79 6f 75 20 70 61 |he strin|g you pa|
|000029c0| 73 73 20 69 6e 20 69 73 | 6e 27 74 20 66 6f 75 6e |ss in is|n't foun|
|000029d0| 64 20 69 6e 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |d in the| documen|
|000029e0| 74 27 73 20 54 61 62 6c | 65 20 6f 66 00 a1 00 64 |t's Tabl|e of...d|
|000029f0| 00 10 4f 4e 4c 4e 00 64 | 02 06 00 be 00 7e 00 cc |..ONLN.d|.....~..|
|00002a00| 01 5d 00 2a 0e 27 43 6f | 6e 74 65 6e 74 73 2c 20 |.].*.'Co|ntents, |
|00002a10| 74 68 65 6e 20 44 6f 63 | 56 69 65 77 65 72 20 77 |then Doc|Viewer w|
|00002a20| 69 6c 6c 20 72 65 74 75 | 72 6e 20 61 20 00 00 03 |ill retu|rn a ...|
|00002a30| 00 16 00 0d 00 0a 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00002a40| 00 64 02 2d 00 bf 01 5d | 00 cb 01 b7 00 29 df 0f |.d.-...]|.....)..|
|00002a50| 6b 45 6e 74 72 79 4e 6f | 74 46 6f 75 6e 64 20 00 |kEntryNo|tFound .|
|00002a60| 00 03 00 10 00 0d 00 0c | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00002a70| 4c 4e 00 64 02 3c 00 be | 01 b7 00 cc 01 d6 00 29 |LN.d.<..|.......)|
|00002a80| 5a 06 65 72 72 6f 72 2e | 00 a1 00 64 00 10 4f 4e |Z.error.|...d..ON|
|00002a90| 4c 4e 00 64 02 43 00 d2 | 00 7e 00 e0 01 f9 00 28 |LN.d.C..|.~.....(|
|00002aa0| 00 dc 00 7e 46 54 68 65 | 20 74 68 69 72 64 20 61 |...~FThe| third a|
|00002ab0| 6e 64 20 66 69 6e 61 6c | 20 70 61 72 61 6d 65 74 |nd final| paramet|
|00002ac0| 65 72 20 69 73 20 75 73 | 65 64 20 74 6f 20 71 75 |er is us|ed to qu|
|00002ad0| 61 6c 69 66 79 20 74 68 | 65 20 73 65 61 72 63 68 |alify th|e search|
|00002ae0| 20 70 61 74 74 65 72 6e | 20 69 6e 00 00 a1 00 64 | pattern| in....d|
|00002af0| 00 10 4f 4e 4c 4e 00 64 | 02 8a 00 e0 00 7e 00 ee |..ONLN.d|.....~..|
|00002b00| 01 f4 00 2a 0e 42 74 68 | 65 20 73 65 63 6f 6e 64 |...*.Bth|e second|
|00002b10| 20 70 61 72 61 6d 65 74 | 65 72 2e 20 20 4f 6e 63 | paramet|er. Onc|
|00002b20| 65 20 44 6f 63 56 69 65 | 77 65 72 20 68 61 73 20 |e DocVie|wer has |
|00002b30| 6c 6f 63 61 74 65 64 20 | 74 68 65 20 65 6e 74 72 |located |the entr|
|00002b40| 79 20 69 6e 20 74 68 65 | 00 a1 00 64 00 10 4f 4e |y in the|...d..ON|
|00002b50| 4c 4e 00 64 02 cd 00 ee | 00 7e 00 fc 01 f3 00 2a |LN.d....|.~.....*|
|00002b60| 0e 47 54 61 62 6c 65 20 | 6f 66 20 43 6f 6e 74 65 |.GTable |of Conte|
|00002b70| 6e 74 73 20 69 74 20 77 | 69 6c 6c 20 63 6f 6e 66 |nts it w|ill conf|
|00002b80| 69 72 6d 20 74 68 61 74 | 20 74 68 65 20 65 6e 74 |irm that| the ent|
|00002b90| 72 79 20 69 73 20 69 6e | 20 74 68 65 20 6c 65 76 |ry is in| the lev|
|00002ba0| 65 6c 20 6f 66 20 74 68 | 65 00 00 a1 00 64 00 10 |el of th|e....d..|
|00002bb0| 4f 4e 4c 4e 00 64 03 15 | 00 fc 00 7e 01 0a 01 29 |ONLN.d..|...~...)|
|00002bc0| 00 2a 0e 1f 54 4f 43 20 | 68 69 65 72 61 72 63 68 |.*..TOC |hierarch|
|00002bd0| 79 20 73 70 65 63 69 66 | 69 65 64 20 69 6e 20 74 |y specif|ied in t|
|00002be0| 68 65 20 00 00 03 00 16 | 00 0d 00 0a 00 a1 00 64 |he .....|.......d|
|00002bf0| 00 10 4f 4e 4c 4e 00 64 | 03 34 00 fd 01 29 01 09 |..ONLN.d|.4...)..|
|00002c00| 01 6b 00 29 ab 0b 61 63 | 63 65 73 73 4c 65 76 65 |.k.)..ac|cessLeve|
|00002c10| 6c 00 00 03 00 10 00 0d | 00 0c 00 a1 00 64 00 10 |l.......|.....d..|
|00002c20| 4f 4e 4c 4e 00 64 03 3f | 00 fc 01 6b 01 0a 02 01 |ONLN.d.?|...k....|
|00002c30| 00 29 42 1b 20 66 69 65 | 6c 64 2e 20 20 44 6f 63 |.)B. fie|ld. Doc|
|00002c40| 56 69 65 77 65 72 20 73 | 75 70 70 6f 72 74 73 00 |Viewer s|upports.|
|00002c50| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 5b 01 0a |...d..ON|LN.d.[..|
|00002c60| 00 7e 01 18 01 ac 00 28 | 01 14 00 7e 38 73 65 76 |.~.....(|...~8sev|
|00002c70| 65 6e 20 6c 65 76 65 6c | 73 20 6f 66 20 68 69 65 |en level|s of hie|
|00002c80| 72 61 72 63 68 79 2e 20 | 20 54 68 65 79 20 61 72 |rarchy. | They ar|
|00002c90| 65 20 64 65 66 69 6e 65 | 64 20 61 73 20 66 6f 6c |e define|d as fol|
|00002ca0| 6c 6f 77 73 3a 00 00 03 | 00 16 00 0d 00 0a 00 a1 |lows:...|........|
|00002cb0| 00 64 00 10 4f 4e 4c 4e | 00 64 03 94 01 1e 00 7e |.d..ONLN|.d.....~|
|00002cc0| 01 2a 00 a8 00 2a 13 07 | 23 64 65 66 69 6e 65 00 |.*...*..|#define.|
|00002cd0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 9d 01 1e |...d..ON|LN.d....|
|00002ce0| 00 b4 01 2a 01 0e 00 29 | 36 0f 6b 46 69 72 73 74 |...*...)|6.kFirst|
|00002cf0| 4c 65 76 65 6c 48 69 65 | 72 00 00 a1 00 64 00 10 |LevelHie|r....d..|
|00002d00| 4f 4e 4c 4e 00 64 03 af | 01 1e 01 32 01 2a 01 38 |ONLN.d..|...2.*.8|
|00002d10| 00 29 7e 01 31 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |.)~.1...|.d..ONLN|
|00002d20| 00 64 03 b1 01 29 00 7e | 01 35 00 a8 00 28 01 32 |.d...).~|.5...(.2|
|00002d30| 00 7e 07 23 64 65 66 69 | 6e 65 00 a1 00 64 00 10 |.~.#defi|ne...d..|
|00002d40| 4f 4e 4c 4e 00 64 03 ba | 01 29 00 b4 01 35 01 14 |ONLN.d..|.)...5..|
|00002d50| 00 29 36 10 6b 53 65 63 | 6f 6e 64 4c 65 76 65 6c |.)6.kSec|ondLevel|
|00002d60| 48 69 65 72 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |Hier...d|..ONLN.d|
|00002d70| 03 cc 01 29 01 32 01 35 | 01 38 00 29 7e 01 32 00 |...).2.5|.8.)~.2.|
|00002d80| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 ce 01 34 |...d..ON|LN.d...4|
|00002d90| 00 7e 01 40 00 a8 00 28 | 01 3d 00 7e 07 23 64 65 |.~.@...(|.=.~.#de|
|00002da0| 66 69 6e 65 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |fine...d|..ONLN.d|
|00002db0| 03 d7 01 34 00 b4 01 40 | 01 0e 00 29 36 0f 6b 54 |...4...@|...)6.kT|
|00002dc0| 68 69 72 64 4c 65 76 65 | 6c 48 69 65 72 00 00 a1 |hirdLeve|lHier...|
|00002dd0| 00 64 00 10 4f 4e 4c 4e | 00 64 03 e9 01 34 01 32 |.d..ONLN|.d...4.2|
|00002de0| 01 40 01 38 00 29 7e 01 | 33 00 00 a1 00 64 00 10 |.@.8.)~.|3....d..|
|00002df0| 4f 4e 4c 4e 00 64 03 eb | 01 3f 00 7e 01 4b 00 a8 |ONLN.d..|.?.~.K..|
|00002e00| 00 28 01 48 00 7e 07 23 | 64 65 66 69 6e 65 00 a1 |.(.H.~.#|define..|
|00002e10| 00 64 00 10 4f 4e 4c 4e | 00 64 03 f4 01 3f 00 b4 |.d..ONLN|.d...?..|
|00002e20| 01 4b 01 14 00 29 36 10 | 6b 46 6f 75 72 74 68 4c |.K...)6.|kFourthL|
|00002e30| 65 76 65 6c 48 69 65 72 | 00 a1 00 64 00 10 4f 4e |evelHier|...d..ON|
|00002e40| 4c 4e 00 64 04 06 01 3f | 01 32 01 4b 01 38 00 29 |LN.d...?|.2.K.8.)|
|00002e50| 7e 01 34 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |~.4....d|..ONLN.d|
|00002e60| 04 08 01 4a 00 7e 01 56 | 00 a8 00 28 01 53 00 7e |...J.~.V|...(.S.~|
|00002e70| 07 23 64 65 66 69 6e 65 | 00 a1 00 64 00 10 4f 4e |.#define|...d..ON|
|00002e80| 4c 4e 00 64 04 11 01 4a | 00 b4 01 56 01 14 00 29 |LN.d...J|...V...)|
|00002e90| 36 10 6b 46 69 67 75 72 | 65 4c 65 76 65 6c 48 69 |6.kFigur|eLevelHi|
|00002ea0| 65 72 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 23 |er...d..|ONLN.d.#|
|00002eb0| 01 4a 01 32 01 56 01 44 | 00 29 7e 03 32 30 31 00 |.J.2.V.D|.)~.201.|
|00002ec0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 04 27 01 55 |...d..ON|LN.d.'.U|
|00002ed0| 00 7e 01 61 00 a8 00 28 | 01 5e 00 7e 07 23 64 65 |.~.a...(|.^.~.#de|
|00002ee0| 66 69 6e 65 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |fine...d|..ONLN.d|
|00002ef0| 04 30 01 55 00 b4 01 61 | 01 08 00 29 36 0e 6b 4c |.0.U...a|...)6.kL|
|00002f00| 69 73 74 4c 65 76 65 6c | 48 69 65 72 00 a1 00 64 |istLevel|Hier...d|
|00002f10| 00 10 4f 4e 4c 4e 00 64 | 04 42 01 55 01 32 01 61 |..ONLN.d|.B.U.2.a|
|00002f20| 01 44 00 29 7e 03 32 30 | 32 00 00 a1 00 64 00 10 |.D.)~.20|2....d..|
|00002f30| 4f 4e 4c 4e 00 64 04 46 | 01 60 00 7e 01 6c 00 a8 |ONLN.d.F|.`.~.l..|
|00002f40| 00 28 01 69 00 7e 07 23 | 64 65 66 69 6e 65 00 a1 |.(.i.~.#|define..|
|00002f50| 00 64 00 10 4f 4e 4c 4e | 00 64 04 4f 01 60 00 b4 |.d..ONLN|.d.O.`..|
|00002f60| 01 6c 01 0e 00 29 36 0f | 6b 54 61 62 6c 65 4c 65 |.l...)6.|kTableLe|
|00002f70| 76 65 6c 48 69 65 72 00 | 00 a1 00 64 00 10 4f 4e |velHier.|...d..ON|
|00002f80| 4c 4e 00 64 04 61 01 60 | 01 32 01 6c 01 44 00 29 |LN.d.a.`|.2.l.D.)|
|00002f90| 7e 03 32 30 33 00 00 03 | 00 10 00 0d 00 0c 00 a1 |~.203...|........|
|00002fa0| 00 64 00 10 4f 4e 4c 4e | 00 64 04 65 01 71 00 7e |.d..ONLN|.d.e.q.~|
|00002fb0| 01 7f 01 ef 00 28 01 7b | 00 7e 43 41 6e 20 65 69 |.....(.{|.~CAn ei|
|00002fc0| 67 68 74 68 20 63 6f 6e | 73 74 61 6e 74 20 68 61 |ghth con|stant ha|
|00002fd0| 73 20 62 65 65 6e 20 64 | 65 66 69 6e 65 64 20 74 |s been d|efined t|
|00002fe0| 68 61 74 20 77 69 6c 6c | 20 61 6c 6c 6f 77 20 74 |hat will| allow t|
|00002ff0| 68 65 20 65 6e 74 72 79 | 20 74 6f 20 62 65 00 a1 |he entry| to be..|
|00003000| 00 64 00 10 4f 4e 4c 4e | 00 64 04 a9 01 7f 00 7e |.d..ONLN|.d.....~|
|00003010| 01 8d 01 fd 00 2a 0e 4a | 66 6f 75 6e 64 20 61 74 |.....*.J|found at|
|00003020| 20 61 6e 79 20 6c 65 76 | 65 6c 20 69 6e 20 74 68 | any lev|el in th|
|00003030| 65 20 68 69 65 72 61 72 | 63 68 79 2e 20 20 49 6e |e hierar|chy. In|
|00003040| 20 74 68 69 73 20 63 61 | 73 65 2c 20 69 66 20 74 | this ca|se, if t|
|00003050| 68 65 72 65 20 61 72 65 | 20 64 75 70 6c 69 63 61 |here are| duplica|
|00003060| 74 65 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 f4 |te...d..|ONLN.d..|
|00003070| 01 8d 00 7e 01 9b 01 47 | 00 2a 0e 27 65 6e 74 72 |...~...G|.*.'entr|
|00003080| 69 65 73 20 74 68 65 20 | 66 69 72 73 74 20 65 6e |ies the |first en|
|00003090| 74 72 79 20 77 69 6c 6c | 20 62 65 20 63 68 6f 73 |try will| be chos|
|000030a0| 65 6e 2e 00 00 03 00 16 | 00 0d 00 0a 00 a1 00 64 |en......|.......d|
|000030b0| 00 10 4f 4e 4c 4e 00 64 | 05 1c 01 a1 00 7e 01 ad |..ONLN.d|.....~..|
|000030c0| 00 a8 00 2a 13 07 23 64 | 65 66 69 6e 65 00 00 a1 |...*..#d|efine...|
|000030d0| 00 64 00 10 4f 4e 4c 4e | 00 64 05 25 01 a1 00 b4 |.d..ONLN|.d.%....|
|000030e0| 01 ad 01 02 00 29 36 0d | 6b 41 6e 79 4c 65 76 65 |.....)6.|kAnyLeve|
|000030f0| 6c 48 69 65 72 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |lHier...|.d..ONLN|
|00003100| 00 64 05 36 01 a1 01 32 | 01 ad 01 44 00 29 7e 03 |.d.6...2|...D.)~.|
|00003110| 39 39 39 00 00 03 00 10 | 00 0d 00 0c 00 a1 00 64 |999.....|.......d|
|00003120| 00 10 4f 4e 4c 4e 00 64 | 05 3a 01 b2 00 7e 01 c0 |..ONLN.d|.:...~..|
|00003130| 01 e0 00 28 01 bc 00 7e | 41 45 61 63 68 20 6f 66 |...(...~|AEach of|
|00003140| 20 74 68 65 73 65 20 73 | 65 6c 65 63 74 6f 72 73 | these s|electors|
|00003150| 20 69 73 20 6d 75 74 75 | 61 6c 6c 79 20 65 78 63 | is mutu|ally exc|
|00003160| 6c 75 73 69 76 65 2c 20 | 61 6e 64 20 74 68 65 79 |lusive, |and they|
|00003170| 20 63 61 6e 6e 6f 74 20 | 62 65 00 a1 00 64 00 10 | cannot |be...d..|
|00003180| 4f 4e 4c 4e 00 64 05 7c | 01 c0 00 7e 01 ce 01 0b |ONLN.d.||...~....|
|00003190| 00 2a 0e 19 63 6f 6d 62 | 69 6e 65 64 20 28 6f 72 |.*..comb|ined (or|
|000031a0| 27 64 29 20 74 6f 67 65 | 74 68 65 72 2e 00 00 04 |'d) toge|ther....|
|000031b0| 05 00 00 0d 00 0e 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|000031c0| 00 64 05 96 01 dc 00 5a | 01 ec 00 d1 00 28 01 e8 |.d.....Z|.....(..|
|000031d0| 00 5a 11 53 65 6e 64 69 | 6e 67 20 54 68 65 20 45 |.Z.Sendi|ng The E|
|000031e0| 76 65 6e 74 00 04 03 00 | 00 0d 00 0c 00 a1 00 64 |vent....|.......d|
|000031f0| 00 10 4f 4e 4c 4e 00 64 | 05 a8 01 f2 00 7e 02 00 |..ONLN.d|.....~..|
|00003200| 01 44 00 2b 24 14 1e 4c | 61 75 6e 63 68 20 44 6f |.D.+$..L|aunch Do|
|00003210| 63 56 69 65 77 65 72 20 | 77 69 74 68 20 44 6f 63 |cViewer |with Doc|
|00003220| 75 6d 65 6e 74 00 00 04 | 00 00 00 a1 00 64 00 10 |ument...|.....d..|
|00003230| 4f 4e 4c 4e 00 64 05 c7 | 02 06 00 7e 02 14 02 01 |ONLN.d..|...~....|
|00003240| 00 2a 14 46 54 68 65 20 | 66 69 72 73 74 20 73 74 |.*.FThe |first st|
|00003250| 65 70 20 77 68 65 6e 20 | 73 65 6e 64 69 6e 67 20 |ep when |sending |
|00003260| 74 68 65 20 6c 6f 6f 6b | 75 70 20 65 76 65 6e 74 |the look|up event|
|00003270| 20 69 73 20 74 6f 20 73 | 65 65 20 69 66 20 44 6f | is to s|ee if Do|
|00003280| 63 56 69 65 77 65 72 20 | 69 73 00 a1 00 64 00 10 |cViewer |is...d..|
|00003290| 4f 4e 4c 4e 00 64 06 0e | 02 14 00 7e 02 22 01 d6 |ONLN.d..|...~."..|
|000032a0| 00 2a 0e 3d 63 75 72 72 | 65 6e 74 6c 79 20 72 75 |.*.=curr|ently ru|
|000032b0| 6e 6e 69 6e 67 2e 20 20 | 54 68 69 73 20 63 61 6e |nning. |This can|
|000032c0| 20 62 65 20 61 63 63 6f | 6d 70 6c 69 73 68 65 64 | be acco|mplished|
|000032d0| 20 77 69 74 68 20 74 68 | 65 20 50 72 6f 63 65 73 | with th|e Proces|
|000032e0| 73 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 06 4c |s....d..|ONLN.d.L|
|000032f0| 02 22 00 7e 02 30 00 b2 | 00 2a 0e 08 6d 61 6e 61 |.".~.0..|.*..mana|
|00003300| 67 65 72 20 00 03 00 16 | 00 0d 00 0a 00 a1 00 64 |ger ....|.......d|
|00003310| 00 10 4f 4e 4c 4e 00 64 | 06 54 02 23 00 b2 02 2f |..ONLN.d|.T.#.../|
|00003320| 01 06 00 29 34 0e 47 65 | 74 50 72 6f 63 65 73 73 |...)4.Ge|tProcess|
|00003330| 49 6e 66 6f 00 03 00 10 | 00 0d 00 0c 00 a1 00 64 |Info....|.......d|
|00003340| 00 10 4f 4e 4c 4e 00 64 | 06 62 02 22 01 06 02 30 |..ONLN.d|.b."...0|
|00003350| 01 fc 00 29 54 2f 20 72 | 6f 75 74 69 6e 65 2e 20 |...)T/ r|outine. |
|00003360| 20 49 66 20 44 6f 63 56 | 69 65 77 65 72 20 69 73 | If DocV|iewer is|
|00003370| 20 66 6f 75 6e 64 20 69 | 6e 20 74 68 65 20 6c 69 | found i|n the li|
|00003380| 73 74 20 6f 66 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |st of...|.d..ONLN|
|00003390| 00 64 06 92 02 30 00 7e | 02 3e 01 fe 00 28 02 3a |.d...0.~|.>...(.:|
|000033a0| 00 7e 45 63 75 72 72 65 | 6e 74 6c 79 20 72 75 6e |.~Ecurre|ntly run|
|000033b0| 6e 69 6e 67 20 70 72 6f | 63 65 73 73 65 73 2c 20 |ning pro|cesses, |
|000033c0| 79 6f 75 20 73 68 6f 75 | 6c 64 20 63 68 65 63 6b |you shou|ld check|
|000033d0| 20 74 6f 20 73 65 65 20 | 74 68 61 74 20 74 68 65 | to see |that the|
|000033e0| 20 76 65 72 73 69 6f 6e | 00 a1 00 64 00 10 4f 4e | version|...d..ON|
|000033f0| 4c 4e 00 64 06 d8 02 3e | 00 7e 02 4c 01 e1 00 2a |LN.d...>|.~.L...*|
|00003400| 0e 43 6f 66 20 44 6f 63 | 56 69 65 77 65 72 20 69 |.Cof Doc|Viewer i|
|00003410| 73 20 63 6f 72 72 65 63 | 74 20 28 31 2e 31 2e 31 |s correc|t (1.1.1|
|00003420| 29 2e 20 20 54 68 69 73 | 20 63 61 6e 20 62 65 20 |). This| can be |
|00003430| 64 6f 6e 65 20 75 73 69 | 6e 67 20 74 68 65 20 27 |done usi|ng the '|
|00003440| 76 65 72 73 27 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |vers'...|.d..ONLN|
|00003450| 00 64 07 1c 02 4c 00 7e | 02 5a 00 ee 00 2a 0e 14 |.d...L.~|.Z...*..|
|00003460| 72 65 73 6f 75 72 63 65 | 20 77 69 74 68 20 49 44 |resource| with ID|
|00003470| 20 23 31 2e 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 | #1....d|..ONLN.d|
|00003480| 07 32 02 60 00 7e 02 6e | 01 fa 00 2a 14 46 49 66 |.2.`.~.n|...*.FIf|
|00003490| 20 44 6f 63 56 69 65 77 | 65 72 20 69 73 20 6e 6f | DocView|er is no|
|000034a0| 74 20 72 75 6e 6e 69 6e | 67 2c 20 69 74 20 69 73 |t runnin|g, it is|
|000034b0| 20 6e 65 63 65 73 73 61 | 72 79 20 74 6f 20 6c 61 | necessa|ry to la|
|000034c0| 75 6e 63 68 20 74 68 65 | 20 61 70 70 6c 69 63 61 |unch the| applica|
|000034d0| 74 69 6f 6e 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |tion...d|..ONLN.d|
|000034e0| 07 79 02 6e 00 7e 02 7c | 01 d0 00 2a 0e 3b 77 69 |.y.n.~.||...*.;wi|
|000034f0| 74 68 20 74 68 65 20 74 | 61 72 67 65 74 20 64 6f |th the t|arget do|
|00003500| 63 75 6d 65 6e 74 2e 20 | 20 49 66 20 44 6f 63 56 |cument. | If DocV|
|00003510| 69 65 77 65 72 20 69 73 | 20 6c 61 75 6e 63 68 65 |iewer is| launche|
|00003520| 64 20 77 69 74 68 6f 75 | 74 00 00 a1 00 64 00 10 |d withou|t....d..|
|00003530| 4f 4e 4c 4e 00 64 07 b5 | 02 7c 00 7e 02 8a 01 f8 |ONLN.d..|.|.~....|
|00003540| 00 2a 0e 47 72 65 66 65 | 72 65 6e 63 65 20 74 6f |.*.Grefe|rence to|
|00003550| 20 74 68 65 20 74 61 72 | 67 65 74 20 64 6f 63 75 | the tar|get docu|
|00003560| 6d 65 6e 74 2c 20 69 74 | 20 77 69 6c 6c 20 70 72 |ment, it| will pr|
|00003570| 65 73 65 6e 74 20 69 74 | 73 20 64 65 66 61 75 6c |esent it|s defaul|
|00003580| 74 20 53 46 47 65 74 46 | 69 6c 65 00 00 a1 00 64 |t SFGetF|ile....d|
|00003590| 00 10 4f 4e 4c 4e 00 64 | 07 fd 02 8a 00 7e 02 98 |..ONLN.d|.....~..|
|000035a0| 01 f3 00 2a 0e 45 64 69 | 61 6c 6f 67 2c 20 61 6e |...*.Edi|alog, an|
|000035b0| 64 20 79 6f 75 20 77 69 | 6c 6c 20 6e 6f 74 20 62 |d you wi|ll not b|
|000035c0| 65 20 61 62 6c 65 20 74 | 6f 20 6d 65 73 73 61 67 |e able t|o messag|
|000035d0| 65 20 74 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |e the ap|plicatio|
|000035e0| 6e 20 75 6e 74 69 6c 20 | 74 68 65 00 00 a1 00 64 |n until |the....d|
|000035f0| 00 10 4f 4e 4c 4e 00 64 | 08 43 02 98 00 7e 02 a6 |..ONLN.d|.C...~..|
|00003600| 01 ea 00 2a 0e 41 64 69 | 61 6c 6f 67 20 69 73 20 |...*.Adi|alog is |
|00003610| 64 69 73 6d 69 73 73 65 | 64 2e 20 20 46 6f 72 20 |dismisse|d. For |
|00003620| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 6f 6e 20 6c |informat|ion on l|
|00003630| 61 75 6e 63 68 69 6e 67 | 20 61 6e 20 61 70 70 6c |aunching| an appl|
|00003640| 69 63 61 74 69 6f 6e 00 | 00 a1 00 64 00 10 4f 4e |ication.|...d..ON|
|00003650| 4c 4e 00 64 08 85 02 a6 | 00 7e 02 b4 01 f1 00 2a |LN.d....|.~.....*|
|00003660| 0e 40 77 69 74 68 20 61 | 20 64 6f 63 75 6d 65 6e |.@with a| documen|
|00003670| 74 20 73 65 65 20 22 4c | 61 75 6e 63 68 77 69 74 |t see "L|aunchwit|
|00003680| 68 44 6f 63 22 20 6f 6e | 20 74 68 65 20 6c 61 74 |hDoc" on| the lat|
|00003690| 65 73 74 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 74 |est vers|ion of t|
|000036a0| 68 65 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 08 c6 |he...d..|ONLN.d..|
|000036b0| 02 b4 00 7e 02 c2 01 42 | 00 2a 0e 22 44 65 76 65 |...~...B|.*."Deve|
|000036c0| 6c 6f 70 65 72 20 43 44 | 20 28 54 6f 6f 6c 20 43 |loper CD| (Tool C|
|000036d0| 68 65 73 74 20 45 64 69 | 74 69 6f 6e 29 2e 00 ff |hest Edi|tion)...|
|000036e0| 0d 3e 00 00 00 00 03 18 | 02 64 00 11 02 ff 0c 00 |.>......|.d......|
|000036f0| ff ff ff ff 00 00 00 00 | 00 00 00 00 02 64 00 00 |........|.....d..|
|00003700| 03 18 00 00 00 00 00 00 | 00 01 00 0a 00 00 00 00 |........|........|
|00003710| 03 15 02 5f 00 2c 00 0b | 00 10 08 50 61 6c 61 74 |..._.,..|...Palat|
|00003720| 69 6e 6f 00 00 03 00 10 | 00 0d 00 0c 00 2e 00 04 |ino.....|........|
|00003730| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00003740| 00 00 00 48 00 7e 00 56 | 01 ed 00 2b 7e 52 42 41 |...H.~.V|...+~RBA|
|00003750| 67 61 69 6e 2c 20 77 68 | 65 6e 20 79 6f 75 20 6c |gain, wh|en you l|
|00003760| 61 75 6e 63 68 20 74 68 | 65 20 61 70 70 6c 69 63 |aunch th|e applic|
|00003770| 61 74 69 6f 6e 2c 20 69 | 74 20 69 73 20 6e 65 63 |ation, i|t is nec|
|00003780| 65 73 73 61 72 79 20 74 | 6f 20 63 6f 6e 66 69 72 |essary t|o confir|
|00003790| 6d 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 43 |m....d..|ONLN.d.C|
|000037a0| 00 56 00 7e 00 64 01 ff | 00 2a 0e 46 74 68 61 74 |.V.~.d..|.*.Fthat|
|000037b0| 20 79 6f 75 20 61 72 65 | 20 6c 61 75 6e 63 68 69 | you are| launchi|
|000037c0| 6e 67 20 74 68 65 20 63 | 6f 72 72 65 63 74 20 76 |ng the c|orrect v|
|000037d0| 65 72 73 69 6f 6e 20 62 | 79 20 63 68 65 63 6b 69 |ersion b|y checki|
|000037e0| 6e 67 20 74 68 65 20 63 | 6f 6e 74 65 6e 74 73 20 |ng the c|ontents |
|000037f0| 6f 66 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 8a |of...d..|ONLN.d..|
|00003800| 00 64 00 7e 00 72 01 ae | 00 2a 0e 37 74 68 65 20 |.d.~.r..|.*.7the |
|00003810| 27 76 65 72 73 27 20 49 | 44 20 23 31 20 72 65 73 |'vers' I|D #1 res|
|00003820| 6f 75 72 63 65 20 6f 66 | 20 74 68 65 20 44 6f 63 |ource of| the Doc|
|00003830| 56 69 65 77 65 72 20 61 | 70 70 6c 69 63 61 74 69 |Viewer a|pplicati|
|00003840| 6f 6e 2e 00 00 04 03 00 | 00 a1 00 64 00 10 4f 4e |on......|...d..ON|
|00003850| 4c 4e 00 64 00 c2 00 78 | 00 7e 00 86 00 d3 00 2a |LN.d...x|.~.....*|
|00003860| 14 0e 53 65 6e 64 20 74 | 68 65 20 45 76 65 6e 74 |..Send t|he Event|
|00003870| 00 04 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00003880| 00 d1 00 8c 00 7e 00 9a | 01 ea 00 2a 14 3d 4f 6e |.....~..|...*.=On|
|00003890| 63 65 20 79 6f 75 20 68 | 61 76 65 20 64 65 74 65 |ce you h|ave dete|
|000038a0| 72 6d 69 6e 65 64 20 74 | 68 61 74 20 44 6f 63 56 |rmined t|hat DocV|
|000038b0| 69 65 77 65 72 20 69 73 | 20 72 75 6e 6e 69 6e 67 |iewer is| running|
|000038c0| 20 28 6f 72 20 79 6f 75 | 27 76 65 00 00 a1 00 64 | (or you|'ve....d|
|000038d0| 00 10 4f 4e 4c 4e 00 64 | 01 0f 00 9a 00 7e 00 a8 |..ONLN.d|.....~..|
|000038e0| 02 02 00 2a 0e 47 6c 61 | 75 6e 63 68 65 64 20 69 |...*.Gla|unched i|
|000038f0| 74 29 20 79 6f 75 20 63 | 61 6e 20 74 68 65 6e 20 |t) you c|an then |
|00003900| 73 65 6e 64 20 74 68 65 | 20 65 76 65 6e 74 2e 20 |send the| event. |
|00003910| 20 53 65 65 20 6c 69 73 | 74 69 6e 67 20 31 20 66 | See lis|ting 1 f|
|00003920| 6f 72 20 61 6e 20 65 78 | 61 6d 70 6c 65 00 00 a1 |or an ex|ample...|
|00003930| 00 64 00 10 4f 4e 4c 4e | 00 64 01 57 00 a8 00 7e |.d..ONLN|.d.W...~|
|00003940| 00 b6 01 16 00 2a 0e 1c | 6f 66 20 73 65 6e 64 69 |.....*..|of sendi|
|00003950| 6e 67 20 74 68 65 20 27 | 73 65 65 6b 27 20 65 76 |ng the '|seek' ev|
|00003960| 65 6e 74 2e 00 04 03 00 | 00 a1 00 64 00 10 4f 4e |ent.....|...d..ON|
|00003970| 4c 4e 00 64 01 74 00 bc | 00 7e 00 ca 00 d8 00 2a |LN.d.t..|.~.....*|
|00003980| 14 10 43 68 65 63 6b 20 | 66 6f 72 20 45 72 72 6f |..Check |for Erro|
|00003990| 72 73 00 04 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |rs......|.d..ONLN|
|000039a0| 00 64 01 85 00 d0 00 7e | 00 de 02 04 00 2a 14 48 |.d.....~|.....*.H|
|000039b0| 49 66 20 44 6f 63 56 69 | 65 77 65 72 20 63 61 6e |If DocVi|ewer can|
|000039c0| 6e 6f 74 20 66 69 6e 64 | 20 74 68 65 20 65 6e 74 |not find| the ent|
|000039d0| 72 79 20 72 65 71 75 65 | 73 74 65 64 2c 20 69 74 |ry reque|sted, it|
|000039e0| 20 77 69 6c 6c 20 72 65 | 74 75 72 6e 20 61 6e 20 | will re|turn an |
|000039f0| 65 72 72 6f 72 20 69 6e | 00 a1 00 64 00 10 4f 4e |error in|...d..ON|
|00003a00| 4c 4e 00 64 01 ce 00 de | 00 7e 00 ec 01 f3 00 2a |LN.d....|.~.....*|
|00003a10| 0e 45 74 68 65 20 72 65 | 70 6c 79 20 6f 66 20 74 |.Ethe re|ply of t|
|00003a20| 68 65 20 41 70 70 6c 65 | 20 65 76 65 6e 74 2e 20 |he Apple| event. |
|00003a30| 20 53 65 65 20 6c 69 73 | 74 69 6e 67 20 31 20 66 | See lis|ting 1 f|
|00003a40| 6f 72 20 61 6e 20 65 78 | 61 6d 70 6c 65 20 6f 66 |or an ex|ample of|
|00003a50| 20 68 6f 77 20 74 6f 00 | 00 a1 00 64 00 10 4f 4e | how to.|...d..ON|
|00003a60| 4c 4e 00 64 02 14 00 ec | 00 7e 00 fa 00 ff 00 2a |LN.d....|.~.....*|
|00003a70| 0e 17 64 65 74 65 72 6d | 69 6e 65 20 74 68 65 73 |..determ|ine thes|
|00003a80| 65 20 65 72 72 6f 72 73 | 2e 00 00 0d 00 09 00 a1 |e errors|........|
|00003a90| 00 64 00 10 4f 4e 4c 4e | 00 64 02 2c 00 ff 00 7e |.d..ONLN|.d.,...~|
|00003aa0| 01 08 01 1d 00 2a 10 2a | 4c 69 73 74 69 6e 67 20 |.....*.*|Listing |
|00003ab0| 31 20 2d 20 53 65 6e 64 | 69 6e 67 20 74 68 65 20 |1 - Send|ing the |
|00003ac0| 27 73 65 65 6b 27 20 41 | 70 70 6c 65 20 65 76 65 |'seek' A|pple eve|
|00003ad0| 6e 74 00 2c 00 0a 00 16 | 07 43 6f 75 72 69 65 72 |nt.,....|.Courier|
|00003ae0| 00 03 00 16 00 0d 00 0a | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00003af0| 4c 4e 00 64 02 57 01 0b | 00 7e 01 17 00 b4 00 2a |LN.d.W..|.~.....*|
|00003b00| 0e 09 2f 2f 4f 70 65 6e | 44 6f 63 00 00 a1 00 64 |..//Open|Doc....d|
|00003b10| 00 10 4f 4e 4c 4e 00 64 | 02 61 01 16 00 7e 01 22 |..ONLN.d|.a...~."|
|00003b20| 01 a4 00 2a 0b 31 2f 2f | 20 54 68 69 73 20 72 6f |...*.1//| This ro|
|00003b30| 75 74 69 6e 65 20 74 61 | 6b 65 73 20 61 20 70 6f |utine ta|kes a po|
|00003b40| 69 6e 74 65 72 20 74 6f | 20 61 20 53 65 65 6b 50 |inter to| a SeekP|
|00003b50| 61 72 61 6d 52 65 63 00 | 00 a1 00 64 00 10 4f 4e |aramRec.|...d..ON|
|00003b60| 4c 4e 00 64 02 93 01 21 | 00 7e 01 2d 01 b0 00 2a |LN.d...!|.~.-...*|
|00003b70| 0b 33 2f 2f 20 61 6e 64 | 20 73 65 6e 64 73 20 69 |.3// and| sends i|
|00003b80| 74 20 74 6f 20 44 6f 63 | 56 69 65 77 65 72 2e 20 |t to Doc|Viewer. |
|00003b90| 20 54 68 69 73 20 72 6f | 75 74 69 6e 65 20 61 73 | This ro|utine as|
|00003ba0| 73 75 6d 65 73 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |sumes...|.d..ONLN|
|00003bb0| 00 64 02 c7 01 2c 00 7e | 01 38 01 ec 00 2a 0b 3d |.d...,.~|.8...*.=|
|00003bc0| 2f 2f 20 74 68 61 74 20 | 79 6f 75 27 76 65 20 61 |// that |you've a|
|00003bd0| 6c 72 65 61 64 79 20 63 | 68 65 63 6b 65 64 20 74 |lready c|hecked t|
|00003be0| 6f 20 73 65 65 20 69 66 | 20 44 6f 63 56 69 65 77 |o see if| DocView|
|00003bf0| 65 72 20 69 73 20 72 75 | 6e 6e 69 6e 67 00 00 a1 |er is ru|nning...|
|00003c00| 00 64 00 10 4f 4e 4c 4e | 00 64 03 05 01 37 00 7e |.d..ONLN|.d...7.~|
|00003c10| 01 43 01 d4 00 2a 0b 39 | 2f 2f 20 49 20 72 65 6d |.C...*.9|// I rem|
|00003c20| 6f 76 65 64 20 6d 6f 73 | 74 20 74 68 65 20 65 72 |oved mos|t the er|
|00003c30| 72 6f 72 20 63 68 65 63 | 6b 69 6e 67 20 77 68 65 |ror chec|king whe|
|00003c40| 72 65 20 69 74 20 77 61 | 73 20 6f 62 76 69 6f 75 |re it wa|s obviou|
|00003c50| 73 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 3f |s....d..|ONLN.d.?|
|00003c60| 01 42 00 7e 01 4e 01 1a | 00 2a 0b 1a 2f 2f 20 74 |.B.~.N..|.*..// t|
|00003c70| 6f 20 69 6d 70 72 6f 76 | 65 20 72 65 61 64 61 62 |o improv|e readab|
|00003c80| 69 6c 69 74 79 2e 00 a1 | 00 64 00 10 4f 4e 4c 4e |ility...|.d..ONLN|
|00003c90| 00 64 03 5a 01 4d 00 7e | 01 59 01 4a 00 2a 0b 22 |.d.Z.M.~|.Y.J.*."|
|00003ca0| 4f 53 45 72 72 20 4f 70 | 65 6e 44 6f 63 28 53 65 |OSErr Op|enDoc(Se|
|00003cb0| 65 6b 50 61 72 61 6d 52 | 65 63 20 2a 71 44 61 74 |ekParamR|ec *qDat|
|00003cc0| 61 29 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 7d |a)...d..|ONLN.d.}|
|00003cd0| 01 58 00 7e 01 64 00 84 | 00 2a 0b 01 7b 00 00 a1 |.X.~.d..|.*..{...|
|00003ce0| 00 64 00 10 4f 4e 4c 4e | 00 64 03 80 01 63 00 90 |.d..ONLN|.d...c..|
|00003cf0| 01 6f 00 ae 00 2b 12 0b | 05 4f 53 45 72 72 00 a1 |.o...+..|.OSErr..|
|00003d00| 00 64 00 10 4f 4e 4c 4e | 00 64 03 8b 01 63 00 e1 |.d..ONLN|.d...c..|
|00003d10| 01 6f 01 29 00 29 51 0c | 65 72 72 20 3d 20 6e 6f |.o.).)Q.|err = no|
|00003d20| 45 72 72 3b 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |Err;...d|..ONLN.d|
|00003d30| 03 99 01 6e 00 90 01 7a | 00 cc 00 28 01 77 00 90 |...n...z|...(.w..|
|00003d40| 0a 41 70 70 6c 65 45 76 | 65 6e 74 00 00 a1 00 64 |.AppleEv|ent....d|
|00003d50| 00 10 4f 4e 4c 4e 00 64 | 03 a5 01 6e 00 e1 01 7a |..ONLN.d|...n...z|
|00003d60| 01 3b 00 29 51 0f 6d 79 | 45 76 65 6e 74 2c 20 72 |.;.)Q.my|Event, r|
|00003d70| 65 70 6c 79 3b 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |eply;...|.d..ONLN|
|00003d80| 00 64 03 b6 01 79 00 90 | 01 85 00 b4 00 28 01 82 |.d...y..|.....(..|
|00003d90| 00 90 06 41 45 44 65 73 | 63 00 00 a1 00 64 00 10 |...AEDes|c....d..|
|00003da0| 4f 4e 4c 4e 00 64 03 c1 | 01 79 00 e1 01 85 01 1d |ONLN.d..|.y......|
|00003db0| 00 29 51 0a 6d 79 41 64 | 64 72 65 73 73 3b 00 a1 |.)Q.myAd|dress;..|
|00003dc0| 00 64 00 10 4f 4e 4c 4e | 00 64 03 cd 01 84 00 90 |.d..ONLN|.d......|
|00003dd0| 01 90 00 a8 00 28 01 8d | 00 90 04 6c 6f 6e 67 00 |.....(..|...long.|
|00003de0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 d7 01 84 |...d..ON|LN.d....|
|00003df0| 00 e1 01 90 01 7d 00 29 | 51 1a 61 70 70 53 69 67 |.....}.)|Q.appSig|
|00003e00| 20 3d 20 6b 44 6f 63 56 | 69 65 77 65 72 41 70 70 | = kDocV|iewerApp|
|00003e10| 53 69 67 3b 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |Sig;...d|..ONLN.d|
|00003e20| 03 f3 01 8f 00 90 01 9b | 00 a8 00 28 01 98 00 90 |........|...(....|
|00003e30| 04 6c 6f 6e 67 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |.long...|.d..ONLN|
|00003e40| 00 64 03 fd 01 8f 00 e1 | 01 9b 01 53 00 29 51 13 |.d......|...S.)Q.|
|00003e50| 72 65 70 6c 79 45 72 72 | 6f 72 20 3d 20 6e 6f 45 |replyErr|or = noE|
|00003e60| 72 72 3b 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |rr;....d|..ONLN.d|
|00003e70| 04 12 01 9a 00 90 01 a6 | 00 a8 00 28 01 a3 00 90 |........|...(....|
|00003e80| 04 53 69 7a 65 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |.Size...|.d..ONLN|
|00003e90| 00 64 04 1c 01 9a 00 e1 | 01 a6 01 23 00 29 51 0b |.d......|...#.)Q.|
|00003ea0| 61 63 74 75 61 6c 53 69 | 7a 65 3b 00 00 a1 00 64 |actualSi|ze;....d|
|00003eb0| 00 10 4f 4e 4c 4e 00 64 | 04 29 01 a5 00 90 01 b1 |..ONLN.d|.)......|
|00003ec0| 00 c0 00 28 01 ae 00 90 | 08 44 65 73 63 54 79 70 |...(....|.DescTyp|
|00003ed0| 65 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 35 |e....d..|ONLN.d.5|
|00003ee0| 01 a5 00 e1 01 b1 01 11 | 00 29 51 08 67 6f 74 54 |........|.)Q.gotT|
|00003ef0| 79 70 65 3b 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |ype;...d|..ONLN.d|
|00003f00| 04 41 01 bb 00 90 01 c7 | 01 02 00 28 01 c4 00 90 |.A......|...(....|
|00003f10| 13 65 72 72 20 3d 20 41 | 45 43 72 65 61 74 65 44 |.err = A|ECreateD|
|00003f20| 65 73 63 28 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |esc(...d|..ONLN.d|
|00003f30| 04 55 01 bb 01 0e 01 c7 | 01 c8 00 29 7e 1f 74 79 |.U......|...)~.ty|
|00003f40| 70 65 41 70 70 6c 53 69 | 67 6e 61 74 75 72 65 2c |peApplSi|gnature,|
|00003f50| 28 50 74 72 29 26 61 70 | 70 53 69 67 2c 00 00 a1 |(Ptr)&ap|pSig,...|
|00003f60| 00 64 00 10 4f 4e 4c 4e | 00 64 04 7b 01 c6 00 bd |.d..ONLN|.d.{....|
|00003f70| 01 d2 01 5f 00 28 01 cf | 00 bd 1b 73 69 7a 65 6f |..._.(..|...sizeo|
|00003f80| 66 28 61 70 70 53 69 67 | 29 2c 26 6d 79 41 64 64 |f(appSig|),&myAdd|
|00003f90| 72 65 73 73 29 3b 00 a1 | 00 64 00 10 4f 4e 4c 4e |ress);..|.d..ONLN|
|00003fa0| 00 64 04 9a 01 dc 00 90 | 01 e8 01 f8 00 28 01 e5 |.d......|.....(..|
|00003fb0| 00 90 3c 65 72 72 20 3d | 20 41 45 43 72 65 61 74 |..<err =| AECreat|
|00003fc0| 65 41 70 70 6c 65 45 76 | 65 6e 74 28 6b 44 6f 63 |eAppleEv|ent(kDoc|
|00003fd0| 56 69 65 77 65 72 45 76 | 65 6e 74 43 6c 61 73 73 |ViewerEv|entClass|
|00003fe0| 2c 20 6b 53 65 65 6b 45 | 76 65 6e 74 49 44 2c 00 |, kSeekE|ventID,.|
|00003ff0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 04 ea 01 e7 |...d..ON|LN.d....|
|00004000| 01 29 01 f3 01 f5 00 2b | 99 0b 22 26 6d 79 41 64 |.).....+|.."&myAd|
|00004010| 64 72 65 73 73 2c 20 6b | 41 75 74 6f 47 65 6e 65 |dress, k|AutoGene|
|00004020| 72 61 74 65 52 65 74 75 | 72 6e 49 44 2c 00 00 a1 |rateRetu|rnID,...|
|00004030| 00 64 00 10 4f 4e 4c 4e | 00 64 05 20 01 f2 01 29 |.d..ONLN|.d. ...)|
|00004040| 01 fe 01 dd 00 2a 0b 1e | 6b 41 6e 79 54 72 61 6e |.....*..|kAnyTran|
|00004050| 73 61 63 74 69 6f 6e 49 | 44 2c 20 26 6d 79 45 76 |sactionI|D, &myEv|
|00004060| 65 6e 74 20 29 3b 00 a1 | 00 64 00 10 4f 4e 4c 4e |ent );..|.d..ONLN|
|00004070| 00 64 05 48 02 08 00 90 | 02 14 01 f2 00 28 02 11 |.d.H....|.....(..|
|00004080| 00 90 3b 65 72 72 20 3d | 20 41 45 50 75 74 50 61 |..;err =| AEPutPa|
|00004090| 72 61 6d 50 74 72 28 20 | 26 6d 79 45 76 65 6e 74 |ramPtr( |&myEvent|
|000040a0| 2c 20 6b 65 79 53 65 65 | 6b 50 61 72 61 6d 2c 20 |, keySee|kParam, |
|000040b0| 74 79 70 65 57 69 6c 64 | 43 61 72 64 2c 20 00 a1 |typeWild|Card, ..|
|000040c0| 00 64 00 10 4f 4e 4c 4e | 00 64 05 92 02 13 01 0e |.d..ONLN|.d......|
|000040d0| 02 1f 01 e0 00 2b 7e 0b | 23 28 50 74 72 29 71 44 |.....+~.|#(Ptr)qD|
|000040e0| 61 74 61 2c 20 73 69 7a | 65 6f 66 28 53 65 65 6b |ata, siz|eof(Seek|
|000040f0| 50 61 72 61 6d 52 65 63 | 29 20 29 3b 00 a1 00 64 |ParamRec|) );...d|
|00004100| 00 10 4f 4e 4c 4e 00 64 | 05 b7 02 29 00 90 02 35 |..ONLN.d|...)...5|
|00004110| 01 a4 00 28 02 32 00 90 | 2e 65 72 72 20 3d 20 41 |...(.2..|.err = A|
|00004120| 45 53 65 6e 64 28 20 26 | 6d 79 45 76 65 6e 74 2c |ESend( &|myEvent,|
|00004130| 20 26 72 65 70 6c 79 2c | 20 6b 41 45 57 61 69 74 | &reply,| kAEWait|
|00004140| 52 65 70 6c 79 2c 20 00 | 00 a1 00 64 00 10 4f 4e |Reply, .|...d..ON|
|00004150| 4c 4e 00 64 05 f1 02 34 | 00 e1 02 40 01 bf 00 2b |LN.d...4|...@...+|
|00004160| 51 0b 25 6b 41 45 4e 6f | 72 6d 61 6c 50 72 69 6f |Q.%kAENo|rmalPrio|
|00004170| 72 69 74 79 2c 20 6b 41 | 45 44 65 66 61 75 6c 74 |rity, kA|EDefault|
|00004180| 54 69 6d 65 6f 75 74 2c | 00 a1 00 64 00 10 4f 4e |Timeout,|...d..ON|
|00004190| 4c 4e 00 64 06 22 02 3f | 00 e1 02 4b 01 23 00 2a |LN.d.".?|...K.#.*|
|000041a0| 0b 0b 6e 69 6c 2c 20 6e | 69 6c 20 29 3b 00 00 a1 |..nil, n|il );...|
|000041b0| 00 64 00 10 4f 4e 4c 4e | 00 64 06 2e 02 55 00 7e |.d..ONLN|.d...U.~|
|000041c0| 02 61 01 62 00 28 02 5e | 00 7e 26 20 20 20 2f 2f |.a.b.(.^|.~& //|
|000041d0| 20 43 68 65 63 6b 20 74 | 6f 20 73 65 65 20 69 66 | Check t|o see if|
|000041e0| 20 79 6f 75 20 67 6f 74 | 20 61 6e 20 65 72 72 6f | you got| an erro|
|000041f0| 72 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 06 56 |r....d..|ONLN.d.V|
|00004200| 02 60 00 90 02 6c 01 fe | 00 2b 12 0b 3d 65 72 72 |.`...l..|.+..=err|
|00004210| 20 3d 20 41 45 47 65 74 | 50 61 72 61 6d 50 74 72 | = AEGet|ParamPtr|
|00004220| 28 20 26 72 65 70 6c 79 | 2c 20 6b 65 79 45 72 72 |( &reply|, keyErr|
|00004230| 6f 72 4e 75 6d 62 65 72 | 2c 20 74 79 70 65 4c 6f |orNumber|, typeLo|
|00004240| 6e 67 49 6e 74 65 67 65 | 72 2c 00 a1 00 64 00 10 |ngIntege|r,...d..|
|00004250| 4f 4e 4c 4e 00 64 06 a3 | 02 6b 01 0e 02 77 01 b0 |ONLN.d..|.k...w..|
|00004260| 00 2b 7e 0b 1b 26 67 6f | 74 54 79 70 65 2c 20 28 |.+~..&go|tType, (|
|00004270| 50 74 72 29 26 72 65 70 | 6c 79 45 72 72 6f 72 2c |Ptr)&rep|lyError,|
|00004280| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 06 c5 02 76 |...d..ON|LN.d...v|
|00004290| 00 bd 02 82 00 c9 00 28 | 02 7f 00 bd 02 20 20 00 |.......(|..... .|
|000042a0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 06 cf 02 76 |...d..ON|LN.d...v|
|000042b0| 01 0e 02 82 01 b0 00 29 | 51 1b 73 69 7a 65 6f 66 |.......)|Q.sizeof|
|000042c0| 28 6c 6f 6e 67 29 2c 20 | 26 61 63 74 75 61 6c 53 |(long), |&actualS|
|000042d0| 69 7a 65 29 3b 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |ize);...|.d..ONLN|
|000042e0| 00 64 06 ec 02 81 00 90 | 02 8d 01 f8 00 28 02 8a |.d......|.....(..|
|000042f0| 00 90 3c 2f 2f 20 53 70 | 65 63 69 61 6c 20 63 61 |..<// Sp|ecial ca|
|00004300| 73 65 20 6f 6e 20 41 45 | 44 65 73 63 4e 6f 74 46 |se on AE|DescNotF|
|00004310| 6f 75 6e 64 20 62 65 63 | 61 75 73 65 20 77 65 27 |ound bec|ause we'|
|00004320| 6c 6c 20 67 65 74 20 61 | 6e 20 65 72 72 6f 72 00 |ll get a|n error.|
|00004330| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 07 2a 02 8c |...d..ON|LN.d.*..|
|00004340| 00 90 02 98 01 6e 00 2a | 0b 25 2f 2f 20 69 66 20 |.....n.*|.%// if |
|00004350| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 65 72 72 6f |there is| no erro|
|00004360| 72 20 69 6e 20 74 68 65 | 20 72 65 70 6c 79 2e 00 |r in the| reply..|
|00004370| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 07 51 02 97 |...d..ON|LN.d.Q..|
|00004380| 00 90 02 a3 01 b6 00 2a | 0b 31 69 66 20 28 28 65 |.......*|.1if ((e|
|00004390| 72 72 20 21 3d 20 6e 6f | 45 72 72 29 20 26 26 20 |rr != no|Err) && |
|000043a0| 28 65 72 72 20 21 3d 20 | 65 72 72 41 45 44 65 73 |(err != |errAEDes|
|000043b0| 63 4e 6f 74 46 6f 75 6e | 64 29 29 00 00 a1 00 64 |cNotFoun|d))....d|
|000043c0| 00 10 4f 4e 4c 4e 00 64 | 07 84 02 a2 00 90 02 ae |..ONLN.d|........|
|000043d0| 00 96 00 2a 0b 01 7b 00 | 00 a1 00 64 00 10 4f 4e |...*..{.|...d..ON|
|000043e0| 4c 4e 00 64 07 88 02 ad | 00 99 02 b9 00 db 00 2b |LN.d....|.......+|
|000043f0| 09 0b 0b 72 65 74 75 72 | 6e 20 65 72 72 3b 00 a1 |...retur|n err;..|
|00004400| 00 64 00 10 4f 4e 4c 4e | 00 64 07 95 02 b8 00 90 |.d..ONLN|.d......|
|00004410| 02 c4 00 96 00 28 02 c1 | 00 90 01 7d 00 ff 01 9c |.....(..|...}....|
|00004420| 00 00 00 00 03 18 02 64 | 00 11 02 ff 0c 00 ff ff |.......d|........|
|00004430| ff ff 00 00 00 00 00 00 | 00 00 02 64 00 00 03 18 |........|...d....|
|00004440| 00 00 00 00 00 00 00 01 | 00 0a 00 00 00 00 03 15 |........|........|
|00004450| 02 5f 00 2c 00 0a 00 16 | 07 43 6f 75 72 69 65 72 |._.,....|.Courier|
|00004460| 00 03 00 16 00 0d 00 0a | 00 2e 00 04 00 00 00 00 |........|........|
|00004470| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 00 00 48 |...d..ON|LN.d...H|
|00004480| 00 90 00 54 01 b0 00 2b | 90 51 30 2f 2f 20 69 66 |...T...+|.Q0// if|
|00004490| 20 74 68 65 72 65 27 73 | 20 61 6e 20 65 72 72 6f | there's| an erro|
|000044a0| 72 20 66 72 6f 6d 20 44 | 6f 63 56 69 65 77 65 72 |r from D|ocViewer|
|000044b0| 20 72 65 74 75 72 6e 20 | 69 74 2e 00 00 a1 00 64 | return |it.....d|
|000044c0| 00 10 4f 4e 4c 4e 00 64 | 00 32 00 53 00 90 00 5f |..ONLN.d|.2.S..._|
|000044d0| 01 2c 00 2a 0b 1a 2f 2f | 20 6f 74 68 65 72 77 69 |.,.*..//| otherwi|
|000044e0| 73 65 20 72 65 74 75 72 | 6e 20 6e 6f 45 72 72 2e |se retur|n noErr.|
|000044f0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 4e 00 5e |...d..ON|LN.d.N.^|
|00004500| 00 90 00 6a 01 20 00 2a | 0b 18 69 66 20 28 72 65 |...j. .*|..if (re|
|00004510| 70 6c 79 45 72 72 6f 72 | 20 21 3d 20 6e 6f 45 72 |plyError| != noEr|
|00004520| 72 29 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 6a |r)...d..|ONLN.d.j|
|00004530| 00 69 00 a2 00 75 01 0e | 00 2b 12 0b 12 72 65 74 |.i...u..|.+...ret|
|00004540| 75 72 6e 20 72 65 70 6c | 79 45 72 72 6f 72 3b 00 |urn repl|yError;.|
|00004550| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 7e 00 74 |...d..ON|LN.d.~.t|
|00004560| 00 90 00 80 00 a8 00 28 | 00 7d 00 90 04 65 6c 73 |.......(|.}...els|
|00004570| 65 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 86 |e....d..|ONLN.d..|
|00004580| 00 7f 00 a2 00 8b 00 f0 | 00 2b 12 0b 0d 72 65 74 |........|.+...ret|
|00004590| 75 72 6e 20 6e 6f 45 72 | 72 3b 00 a1 00 64 00 10 |urn noEr|r;...d..|
|000045a0| 4f 4e 4c 4e 00 64 00 94 | 00 8a 00 7e 00 96 00 84 |ONLN.d..|...~....|
|000045b0| 00 28 00 93 00 7e 01 7d | 00 ff 00 00 00 00 00 00 |.(...~.}|........|
|000045c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004600| 00 00 01 00 00 00 04 b5 | 00 00 03 b5 00 00 01 36 |........|.......6|
|00004610| 00 00 27 2a 0f 54 61 67 | 73 2e 4d 49 46 28 50 72 |..'*.Tag|s.MIF(Pr|
|00004620| 6f 74 6f 29 02 00 00 00 | 54 45 58 54 4d 53 57 44 |oto)....|TEXTMSWD|
|00004630| 19 44 6f 63 56 69 65 77 | 65 72 20 4c 6f 6f 6b 75 |.DocView|er Looku|
|00004640| 70 20 54 65 63 68 4e 6f | 74 65 02 00 00 00 4f 4e |p TechNo|te....ON|
|00004650| 00 00 4f 4e 4c 4e 48 4c | 58 32 01 00 00 03 00 03 |..ONLNHL|X2......|
|00004660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004670| 00 00 a9 ef f1 e2 00 00 | 45 3a 00 00 05 eb 00 00 |........|E:......|
|00004680| 00 00 00 00 00 00 00 00 | 00 00 00 00 15 00 00 00 |........|........|
|00004690| 27 2a 0f 54 61 67 73 2e | 4d 49 46 28 50 72 6f 74 |'*.Tags.|MIF(Prot|
|000046a0| 6f 29 02 00 00 00 54 45 | 58 54 4d 53 57 44 01 00 |o)....TE|XTMSWD..|
|000046b0| ff ff ff ff 00 00 00 00 | 4d 2c 00 00 00 00 00 85 |........|M,......|
|000046c0| 00 00 28 00 00 00 00 00 | 00 00 00 00 00 00 a9 07 |..(.....|........|
|000046d0| ba fd a9 07 cc 7e 00 00 | 00 00 00 00 00 00 00 00 |.....~..|........|
|000046e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 27 de 00 01 |........|....'...|
|000046f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004700| 00 00 00 40 00 00 17 24 | 00 00 0e cc 00 00 00 00 |...@...$|........|
|00004710| 00 00 06 0b 00 00 25 f0 | 00 00 10 70 00 00 06 0d |......%.|...p....|
|00004720| 00 00 0e f4 00 00 36 60 | 00 00 0d 3e 00 00 0e f6 |......6`|...>....|
|00004730| 00 00 16 8b 00 00 43 9e | 00 00 01 9c 00 00 16 8e |......C.|........|
|00004740| 00 00 17 22 00 00 00 52 | 00 a1 96 14 00 a1 aa 5c |..."...R|.......\|
|00004750| 00 01 c3 08 00 00 00 00 | 01 00 00 00 00 00 00 00 |........|........|
|00004760| 00 00 00 00 00 00 00 00 | 00 00 00 18 00 00 95 54 |........|.......T|
|00004770| 00 0a 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004780| 00 00 01 10 00 00 95 70 | 00 00 00 00 00 00 17 24 |.......p|.......$|
|00004790| 00 00 17 24 00 00 2e 16 | 00 04 00 00 00 1a 00 05 |...$....|........|
|000047a0| 00 01 00 04 00 00 00 00 | 03 18 02 64 00 00 17 24 |........|...d...$|
|000047b0| 00 00 2e 16 00 00 00 00 | 00 00 00 00 00 00 00 02 |........|........|
|000047c0| 00 00 00 00 00 d8 00 01 | 00 00 00 00 ff ff 00 02 |........|........|
|000047d0| 00 00 00 01 ff ff 00 03 | 00 00 00 02 ff ff 00 04 |........|........|
|000047e0| 00 00 00 03 ff ff 00 05 | 00 00 00 04 ff ff 00 06 |........|........|
|000047f0| 00 00 00 05 ff ff 00 07 | 00 00 00 06 ff ff 00 08 |........|........|
|00004800| 00 00 00 07 ff ff 00 09 | 00 00 00 08 ff ff 00 0a |........|........|
|00004810| 00 00 00 09 ff ff 00 0b | 00 00 00 0a ff ff 00 0c |........|........|
|00004820| 00 00 00 0b ff ff 00 0d | 00 00 00 0c ff ff 00 0e |........|........|
|00004830| 00 00 00 0d ff ff 00 0f | 00 00 00 0e ff ff 00 10 |........|........|
|00004840| 00 00 00 0f ff ff 00 11 | 00 00 00 10 ff ff 00 12 |........|........|
|00004850| 00 00 00 11 ff ff 00 13 | 00 00 00 12 ff ff 00 14 |........|........|
|00004860| 00 00 00 13 ff ff 00 15 | 00 00 00 14 ff ff 00 16 |........|........|
|00004870| 00 00 00 15 ff ff 00 17 | 00 00 00 16 ff ff 00 18 |........|........|
|00004880| 00 00 00 17 ff ff 00 19 | 00 00 00 18 ff ff 00 1a |........|........|
|00004890| 00 00 00 19 ff ff ff ff | 00 00 00 1a ff ff 00 00 |........|........|
|000048a0| 00 3e 00 1b 07 53 79 6d | 62 6f 6c 73 01 41 01 42 |.>...Sym|bols.A.B|
|000048b0| 01 43 01 44 01 45 01 46 | 01 47 01 48 01 49 01 4a |.C.D.E.F|.G.H.I.J|
|000048c0| 01 4b 01 4c 01 4d 01 4e | 01 4f 01 50 01 51 01 52 |.K.L.M.N|.O.P.Q.R|
|000048d0| 01 53 01 54 01 55 01 56 | 01 57 01 58 01 59 01 5a |.S.T.U.V|.W.X.Y.Z|
|000048e0| 00 00 00 00 00 00 01 20 | 00 00 00 00 00 00 00 30 |....... |.......0|
|000048f0| 00 00 00 32 00 00 00 3f | 00 00 02 33 00 00 02 45 |...2...?|...3...E|
|00004900| 00 00 02 e3 00 00 02 f4 | 00 00 04 1a 00 00 04 2b |........|.......+|
|00004910| 00 00 04 60 00 00 04 ac | 00 00 04 cf 00 00 05 06 |...`....|........|
|00004920| 00 00 06 76 00 00 08 50 | 00 00 09 a1 00 00 0a 72 |...v...P|.......r|
|00004930| 00 00 0b 29 00 00 0b 47 | 00 00 0b a3 00 00 0b b5 |...)...G|........|
|00004940| 00 00 0b d4 00 00 0d 3f | 00 00 0e f6 00 00 0f b8 |.......?|........|
|00004950| 00 00 0f c7 00 00 10 6a | 00 00 10 7b 00 00 11 22 |.......j|...{..."|
|00004960| 00 00 11 4d 00 00 11 57 | 00 00 11 89 00 00 11 bd |...M...W|........|
|00004970| 00 00 11 fb 00 00 12 35 | 00 00 12 50 00 00 12 73 |.......5|...P...s|
|00004980| 00 00 12 75 00 00 12 8e | 00 00 12 ab 00 00 12 c2 |...u....|........|
|00004990| 00 00 12 e8 00 00 13 07 | 00 00 13 1e 00 00 13 34 |........|.......4|
|000049a0| 00 00 13 36 00 00 13 6b | 00 00 13 8d 00 00 13 8f |...6...k|........|
|000049b0| 00 00 13 ce 00 00 14 04 | 00 00 14 35 00 00 14 3d |........|...5...=|
|000049c0| 00 00 14 ac 00 00 15 0e | 00 00 15 24 00 00 15 4b |........|...$...K|
|000049d0| 00 00 15 b5 00 00 15 e1 | 00 00 16 1f 00 00 16 46 |........|.......F|
|000049e0| 00 00 16 79 00 00 16 7c | 00 00 16 8a 00 00 16 8d |...y...||........|
|000049f0| 00 00 16 bf 00 00 16 db | 00 00 16 f5 00 00 17 0b |........|........|
|00004a00| 00 00 17 11 00 00 17 22 | 00 00 00 08 00 00 00 01 |......."|........|
|00004a10| 00 04 00 01 00 00 00 40 | 00 00 32 68 32 68 00 11 |.......@|..2h2h..|
|00004a20| 00 00 32 68 32 68 00 18 | 00 01 32 67 32 67 00 10 |..2h2h..|..2g2g..|
|00004a30| 00 03 00 16 00 16 00 0a | 00 02 00 10 00 10 00 09 |........|........|
|00004a40| 00 02 00 10 00 10 00 0c | 00 02 00 10 00 10 00 0e |........|........|
|00004a50| 00 02 00 10 00 10 00 12 | 00 00 00 35 00 04 10 41 |........|...5...A|
|00004a60| 70 70 6c 65 47 61 72 61 | 6d 6f 6e 64 20 42 64 10 |ppleGara|mond Bd.|
|00004a70| 41 70 70 6c 65 47 61 72 | 61 6d 6f 6e 64 20 42 6b |AppleGar|amond Bk|
|00004a80| 08 50 61 6c 61 74 69 6e | 6f 07 43 6f 75 72 69 65 |.Palatin|o.Courie|
|00004a90| 72 00 00 00 04 00 00 ff | ff 00 00 00 18 00 00 00 |r.......|........|
|00004aa0| 32 00 00 00 0a 00 00 03 | 34 00 00 02 76 00 01 00 |2.......|4...v...|
|00004ab0| 01 00 03 00 70 00 00 01 | 00 00 00 04 b5 00 00 03 |....p...|........|
|00004ac0| b5 00 00 01 36 01 21 36 | b0 17 e0 00 00 00 1c 01 |....6.!6|........|
|00004ad0| 36 00 0d 70 61 67 65 00 | 00 00 72 63 68 70 74 00 |6..page.|..rchpt.|
|00004ae0| 00 00 7e 62 6f 6f 6b 00 | 00 00 8a 54 4f 43 20 00 |..~book.|...TOC .|
|00004af0| 00 00 96 54 4f 43 23 00 | 00 00 a2 49 44 58 20 00 |...TOC#.|...IDX .|
|00004b00| 00 00 ae 49 44 58 23 00 | 00 00 ba 49 44 58 50 00 |...IDX#.|...IDXP.|
|00004b10| 00 00 c6 50 41 52 41 00 | 00 00 d2 46 4f 4c 4f 00 |...PARA.|...FOLO.|
|00004b20| 00 00 de 44 43 46 4e 00 | 00 00 ea 44 43 46 23 00 |...DCFN.|...DCF#.|
|00004b30| 00 00 f6 46 4f 4c 53 00 | 00 01 02 53 54 49 46 00 |...FOLS.|...STIF.|
|00004b40| 00 01 0e 03 e8 ff ff 00 | 00 00 00 00 00 00 00 03 |........|........|
|00004b50| e8 ff ff 00 00 00 44 00 | 00 00 00 03 e8 ff ff 00 |......D.|........|
|00004b60| 00 00 9a 00 00 00 00 03 | e8 ff ff 00 00 00 b8 00 |........|........|
|00004b70| 00 00 00 03 e8 ff ff 00 | 00 00 bc 00 00 00 00 03 |........|........|
|00004b80| e8 ff ff 00 00 00 c2 00 | 00 00 00 03 e8 ff ff 00 |........|........|
|00004b90| 00 01 9e 00 00 00 00 03 | e8 ff ff 00 00 01 e0 00 |........|........|
|00004ba0| 00 00 00 03 e8 ff ff 00 | 00 01 e4 00 00 00 00 03 |........|........|
|00004bb0| e8 ff ff 00 00 03 08 00 | 00 00 00 03 e8 ff ff 00 |........|........|
|00004bc0| 00 03 14 00 00 00 00 03 | e8 ff ff 00 00 03 58 00 |........|......X.|
|00004bd0| 00 00 00 03 e8 ff ff 00 | 00 03 91 00 00 00 00 03 |........|........|
|00004be0| e8 ff ff 00 00 03 99 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+